Skip to content

Commit 7f5bbc1

Browse files
committed
Sign commits in Localazy PRs
1 parent f514db0 commit 7f5bbc1

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/translations-download.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
download:
1010
runs-on: ubuntu-22.04
1111
permissions:
12-
contents: read
12+
contents: write
1313

1414
steps:
1515
- name: Checkout the code
@@ -25,15 +25,19 @@ jobs:
2525
id: cpr
2626
uses: peter-evans/[email protected]
2727
with:
28-
token: ${{ secrets.BOT_GITHUB_TOKEN }}
28+
sign-commits: true
29+
branch-token: ${{ secrets.BOT_GITHUB_TOKEN }}
2930
branch: actions/localazy-download
3031
delete-branch: true
31-
title: Localazy Download
32+
title: Translations updates
33+
labels: |
34+
T-Task
35+
A-I18n
3236
commit-message: Translations updates
3337

3438
- name: Enable automerge
3539
run: gh pr merge --merge --auto "$PR_NUMBER"
3640
if: steps.cpr.outputs.pull-request-operation == 'created'
3741
env:
3842
GH_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
39-
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}
43+
PR_NUMBER: ${{ steps.cpr.outputs.pull-request-number }}

0 commit comments

Comments
 (0)