Skip to content

Commit

Permalink
Update permissions for auto-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored Sep 28, 2023
1 parent 6538705 commit e911cb8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/translation_statistics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ on:
- cron: '0 6 * * 2'
workflow_dispatch:

permissions: # added using https://github.com/step-security/secure-repo
contents: read
permissions:
contents: write
pull-requests: write
issues: write

jobs:
ReportTranslationStats:
Expand Down Expand Up @@ -62,6 +64,6 @@ jobs:
- name: Enable Pull Request Automerge
uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ secrets.GH_PAT }}
token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.create_pr.outputs.pull-request-number }}
merge-method: rebase

0 comments on commit e911cb8

Please sign in to comment.