Skip to content

Commit 8298eb9

Browse files
authored
fix(ci): use PAT instead of GITHUB_TOKEN in release-pr workflow (#754)
PRs created with GITHUB_TOKEN don't trigger other workflows. Using REPO_GHA_PAT instead allows the continuous-delivery and lint workflows to run properly on release PRs. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
1 parent 9969c81 commit 8298eb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Create Pull Request
2222
id: create-pr
2323
env:
24-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
GH_TOKEN: ${{ secrets.REPO_GHA_PAT }}
2525
run: |
2626
TAG="${GITHUB_REF##*/}"
2727
TITLE="Release ${TAG}"

0 commit comments

Comments
 (0)