Skip to content

Commit

Permalink
chore(github): add workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
eahefnawy committed Oct 15, 2024
1 parent d137395 commit b69e4b6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- main

permissions:
id-token: write
contents: write
pull-requests: write

jobs:
deploy:
name: deploy-prod
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
branches:
- main

permissions:
id-token: write
contents: write
pull-requests: write

jobs:
remove:
name: deploy-pr-preview
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pr-remove.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
types:
- closed

permissions:
id-token: write
contents: write
pull-requests: write

jobs:
remove:
name: remove-pr-preview
Expand Down

0 comments on commit b69e4b6

Please sign in to comment.