Skip to content

Commit

Permalink
Pass contents read permission to build image workflow
Browse files Browse the repository at this point in the history
This is required as the reusuable workflow no requires that permission to be
explicitly passed it. This is so the reusuable workflow can checkout the
repository if it private.
  • Loading branch information
theseanything committed Feb 8, 2024
1 parent f49ad31 commit cf4ae2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
gitRef: ${{ inputs.gitRef || github.event.release.tag_name }}
permissions:
id-token: write
contents: read
trigger-deploy:
name: Trigger deploy to ${{ inputs.environment || 'integration' }}
needs: build-and-publish-image
Expand Down

0 comments on commit cf4ae2e

Please sign in to comment.