ci: fix permissions for backport workflow

Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
seth 2024-02-22 06:13:27 -05:00 committed by GitHub
parent bff8d7220d
commit f747ae949c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,7 @@ jobs:
permissions:
contents: write # for korthout/backport-action to create branch
pull-requests: write # for korthout/backport-action to create PR to backport
actions: write # for korthout/backport-action to create PR with workflow changes
name: Backport Pull Request
if: github.repository_owner == 'PrismLauncher' && github.event.pull_request.merged == true && (github.event_name != 'labeled' || startsWith('backport', github.event.label.name))
runs-on: ubuntu-latest