Skip to content

Commit

Permalink
chore(ci): added permissions to master CI.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed May 17, 2023
1 parent 251882b commit cbaad0c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:

jobs:
deploy-terraform:
permissions:
id-token: write
contents: read
runs-on: ubuntu-22.04
steps:
- name: Checkout test-infra ⤵️
Expand Down Expand Up @@ -34,5 +37,9 @@ jobs:
sudo apt update && sudo apt install -y which
- name: Deploy prow
env:
PROW_HMAC_TOKEN: ${{ secrets.PROW_HMAC_TOKEN }}
PROW_OAUTH_TOKEN: ${{ secrets.PROW_OAUTH_TOKEN }}
PROW_SERVICE_ACCOUNT_JSON: ${{ secrets.PROW_SERVICE_ACCOUNT_JSON }}
run: |
./tools/deploy_prow.sh

0 comments on commit cbaad0c

Please sign in to comment.