Skip to content

Commit

Permalink
pass token to create pull request action
Browse files Browse the repository at this point in the history
  • Loading branch information
sidpalas committed Jun 12, 2024
1 parent ea80aa7 commit 5e00feb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/image-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ 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 @@ -74,6 +70,9 @@ jobs:
update-tags:
runs-on: ubuntu-latest
needs: build-tag-push
permissions:
pull-requests: write
contents: write

steps:
- name: Checkout
Expand Down Expand Up @@ -111,3 +110,5 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5e00feb

Please sign in to comment.