Skip to content

Commit

Permalink
Merge pull request #9 from sarg3nt/Use-PAT-for-auto-creation-of-PR
Browse files Browse the repository at this point in the history
Looks like there is an issue where using a built in GITHUB_TOKEN in an action that should cause another downstream action to run does not work and we must use a pre-created token.
  • Loading branch information
sarg3nt authored Nov 12, 2024
2 parents e11ee3d + e5249f1 commit ad970a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ jobs:
- name: Create PR
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Must use a create Github secret token or downstream actions will not run.
token: ${{ secrets.USER_PAT }}
add-paths: "${{ matrix.change.chart.path }}"
title: >-
update chart ${{ matrix.change.chart.name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
- name: Create PR
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.USER_PAT }}
add-paths: "${{ matrix.change.chart.path }}"
title: >-
update chart ${{ matrix.change.chart.name }}
Expand Down

0 comments on commit ad970a6

Please sign in to comment.