From 999f5ef08ec8cc689cf4db1b7396febc26a7a085 Mon Sep 17 00:00:00 2001 From: David Davis Date: Tue, 24 Aug 2021 16:54:13 -0400 Subject: [PATCH] Use RELEASE_TOKEN to create changelog PRs fixes #475 --- CHANGES/475.bugfix | 1 + templates/github/.github/workflows/release.yml.j2 | 1 + 2 files changed, 2 insertions(+) create mode 100644 CHANGES/475.bugfix diff --git a/CHANGES/475.bugfix b/CHANGES/475.bugfix new file mode 100644 index 00000000..5e8689c1 --- /dev/null +++ b/CHANGES/475.bugfix @@ -0,0 +1 @@ +Use RELEASE_TOKEN to create changelog PRs in order to properly trigger Github Actions. diff --git a/templates/github/.github/workflows/release.yml.j2 b/templates/github/.github/workflows/release.yml.j2 index ecb8962f..bad6563e 100644 --- a/templates/github/.github/workflows/release.yml.j2 +++ b/templates/github/.github/workflows/release.yml.j2 @@ -310,6 +310,7 @@ jobs: - name: Create Pull Request for Changelog uses: peter-evans/create-pull-request@v3 with: + token: {{ '${{ secrets.RELEASE_TOKEN }}' }} committer: {{release_user}} <{{ release_email }}> author: {{release_user}} <{{ release_email }}> branch: changelog/{{ "${{ github.event.inputs.release }}" }}