Skip to content

Commit

Permalink
Add write permissions for contents in badges.yaml workflow
Browse files Browse the repository at this point in the history
This is needed for the action to be able to push back to the repository the generated badge SVG.
  • Loading branch information
nelsonjchen authored Jan 9, 2024
1 parent ca57d32 commit 7d0ea0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/badges.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
name: create badges
runs-on: ubuntu-20.04
if: github.repository == 'commaai/openpilot'
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 7d0ea0f

Please sign in to comment.