Skip to content

Commit

Permalink
Looks like there is an issue where using a built in GITHUB_TOKEN in a…
Browse files Browse the repository at this point in the history
…n action that should cause another downstream action to run does not work and we must use a pre-created token.
  • Loading branch information
sarg3nt committed Nov 12, 2024
1 parent 9792e1b commit e5249f1
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 e5249f1

Please sign in to comment.