Skip to content

Commit

Permalink
fix(ci): make permissions global to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed May 8, 2024
1 parent c321e5c commit 5a244ca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ on:
- "main"
workflow_dispatch: {}

permissions:
contents: write
actions: write

jobs:
generate:
permissions:
contents: write
actions: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 5a244ca

Please sign in to comment.