Skip to content

Commit

Permalink
Add missing workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvinyg committed Jan 5, 2024
1 parent 3e0b8f8 commit 8cabedb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-frackend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ jobs:
name: Deploy dev-gcp
needs: build-app-docker
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
Expand All @@ -80,6 +83,9 @@ jobs:
needs: build-app-docker
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
steps:
- uses: actions/checkout@v4
- uses: nais/deploy/actions/deploy@v2
Expand Down

0 comments on commit 8cabedb

Please sign in to comment.