Skip to content

Commit 20c41c1

Browse files
committed
ci: add permissions block, fix casing and version pin, rename step
1 parent 26d21d2 commit 20c41c1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/rebase-translations.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,18 @@ jobs:
2323
startsWith(github.event.pull_request.head.ref, 'translation-sync-')
2424
runs-on: ubuntu-latest
2525

26+
permissions:
27+
contents: write
28+
pull-requests: write
29+
2630
# Prevent concurrent rebases from overlapping
2731
concurrency:
2832
group: rebase-translations
2933
cancel-in-progress: false
3034

3135
steps:
32-
- name: Rebase conflicted translation PRs
33-
uses: QuantEcon/action-translation@v0.15
36+
- name: Rebase open translation PRs
37+
uses: QuantEcon/action-translation@v0.15.0
3438
with:
3539
mode: rebase
3640
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}

0 commit comments

Comments
 (0)