Skip to content

Commit

Permalink
Add write permissions for the backport workflow
Browse files Browse the repository at this point in the history
The GitHub token only provides read-only access per default since a few
days. This PR adjusts the backport workflow to request the write
permissions for the repository.
  • Loading branch information
jnidzwetzki committed Feb 28, 2024
1 parent e898f15 commit ece6d43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
# branches that are not main, so it's inconvenient.
- backport/trigger

# The workflow needs the permission to push branches
permissions:
contents: write

jobs:
backport:
name: Backport Bug Fixes
Expand Down

0 comments on commit ece6d43

Please sign in to comment.