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 a1c61c2 commit bd8fd7c
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
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
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- "integration/*"

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/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 * * 3" # Every Wednesday 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 bd8fd7c

Please sign in to comment.