Skip to content

Commit

Permalink
Add read permission to build job in release wf
Browse files Browse the repository at this point in the history
Build job requires read permission to run.

Signed-off-by: Huy Mai <[email protected]>
  • Loading branch information
mquhuy committed Jan 7, 2025
1 parent cbde5db commit 100b650
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ jobs:
tag_name: ${{ env.RELEASE_TAG }}

build_ipam:
permissions:
contents: read
needs: push_release_tags
name: Build IPAM container image
if: github.repository == 'metal3-io/ip-address-manager'
Expand Down

0 comments on commit 100b650

Please sign in to comment.