Skip to content

Commit

Permalink
MLPAB-2167 add id-token permissions to cleanup job (#1259)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpearce-digital authored May 23, 2024
1 parent 4cbd3d6 commit b5fcbfe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ on:
- main

permissions:
id-token: write
contents: write
security-events: write
pull-requests: write
actions: none
checks: none
contents: write
deployments: none
id-token: write
issues: write
packages: none
pull-requests: write
repository-projects: none
security-events: write
statuses: none

defaults:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/workflow_terraform_environment_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ on:
- cron: '0 * * * *'

permissions:
contents: read
security-events: none
pull-requests: none
actions: none
checks: none
contents: read
deployments: none
id-token: write
issues: none
packages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none

jobs:
Expand Down

0 comments on commit b5fcbfe

Please sign in to comment.