Skip to content

Commit

Permalink
Add workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortejoso authored Feb 13, 2024
1 parent 5041266 commit 591b059
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/blockscout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,10 @@ jobs:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
needs: [set-docker-vars]
permissions:
contents: read
id-token: write
security-events: write
steps:
- name: 'Checkout'
uses: actions/checkout@v4
Expand Down Expand Up @@ -779,6 +783,10 @@ jobs:
image: us-west1-docker.pkg.dev/devopsre/actions-runner-controller/blockscout:latest
options: --user root
needs: [set-docker-vars]
permissions:
contents: read
id-token: write
security-events: write
steps:
- name: 'Checkout'
uses: actions/checkout@v4
Expand Down

0 comments on commit 591b059

Please sign in to comment.