Skip to content

Commit

Permalink
Updating workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
frasermolyneux committed Nov 9, 2023
1 parent d7b4a99 commit 0263b67
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/codequality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Code Quality
on: push

permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
actions: read # Required by CodeQL
security-events: write # Required by CodeQL
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/destroy-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

permissions:
id-token: write # This is required for requesting the JWT
id-token: write # This is required for Az CLI Login
contents: read # This is required for actions/checkout

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/feature-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- "feature/*"

permissions:
id-token: write # This is required for Az CLI Login
contents: read # This is required for actions/checkout

jobs:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- main

permissions:
id-token: write # This is required for Az CLI Login
contents: read # This is required for actions/checkout

concurrency: # This is required to prevent multiple runs of the same workflow from running at the same time.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-to-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
- cron: "0 3 * * 4" # Every Thursday at 3am

permissions:
id-token: write # This is required for Az CLI Login
contents: read # This is required for actions/checkout

concurrency: # This is required to prevent multiple runs of the same workflow from running at the same time.
Expand Down

0 comments on commit 0263b67

Please sign in to comment.