Skip to content

Commit 9c3309c

Browse files
committed
Add update-translation-coverage workflow permissions
1 parent f808af2 commit 9c3309c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/update-translation-coverage.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ on:
99
jobs:
1010
update-readme:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
# Give the default GITHUB_TOKEN write permission to commit and push the
14+
# added or changed files to the repository.
15+
contents: write
1216

1317
steps:
1418
- name: Checkout repo
15-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
20+
with:
21+
ref: ${{ github.head_ref }}
1622

1723
- name: Setup Python 3
1824
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)