Skip to content

Commit

Permalink
set permissions at workflow level
Browse files Browse the repository at this point in the history
  • Loading branch information
sidpalas committed Jun 12, 2024
1 parent f23e8b7 commit ea80aa7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/image-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
tags:
- "[0-9]*.[0-9]*.[0-9]*"

permissions:
pull-requests: write
contents: write

jobs:
build-tag-push:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,9 +74,6 @@ jobs:
update-tags:
runs-on: ubuntu-latest
needs: build-tag-push
permissions:
contents: write
pull-requests: write

steps:
- name: Checkout
Expand Down

0 comments on commit ea80aa7

Please sign in to comment.