From 591b0595f04bfedef1cf3448b8769963c71d2902 Mon Sep 17 00:00:00 2001 From: Javier Cortejoso Date: Tue, 13 Feb 2024 12:12:40 +0100 Subject: [PATCH] Add workflow permissions --- .github/workflows/blockscout.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/blockscout.yml b/.github/workflows/blockscout.yml index fbedbe107d4c..ff12358ccfab 100644 --- a/.github/workflows/blockscout.yml +++ b/.github/workflows/blockscout.yml @@ -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 @@ -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