Skip to content

Commit 500b1e2

Browse files
committed
Update GitHub Actions workflow permissions and upgrade create-pull-request action version
1 parent 8ca346c commit 500b1e2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/sync.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
types: [labeled] # Trigger on PR label
99

10+
permissions:
11+
contents: write
12+
pull-requests: write
13+
1014
jobs:
1115
sync-translations:
1216
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.event.label.name == 'sync-translations'
@@ -43,7 +47,7 @@ jobs:
4347
find . -name "*.po" -exec msgcat --no-wrap {} -o {} \;
4448
4549
- name: Create Pull Request
46-
uses: peter-evans/create-pull-request@v5
50+
uses: peter-evans/create-pull-request@v7
4751
with:
4852
github-token: ${{ secrets.GITHUB_TOKEN }}
4953
commit-message: "Update Farsi translations from Transifex"

0 commit comments

Comments
 (0)