File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116116 - name : Generate changelog
117117 working-directory : ${{ steps.project-meta.outputs.project-dir }}
118118 env :
119- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
119+ GITHUB_TOKEN : ${{ secrets.RELEASE_PAT || secrets. GITHUB_TOKEN }}
120120 run : |
121121 git cliff \
122122 --repository=${{ github.workspace }}/.git \
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ jobs:
211211 - name : Re-generate current changelog
212212 working-directory : ${{ needs.meta.outputs.project-dir }}
213213 env :
214- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
214+ GITHUB_TOKEN : ${{ secrets.RELEASE_PAT || secrets. GITHUB_TOKEN }}
215215 GITHUB_REPO : ${{ github.repository }}
216216 run : |
217217 git cliff --repository=${{ github.workspace }}/.git --tag=${{ needs.meta.outputs.release-ref }} > CHANGELOG.current
Original file line number Diff line number Diff line change 8888 - name : Push tag
8989 if : ${{ steps.meta.outputs.proceed }}
9090 env :
91- # TODO: we must use a PAT here to trigger the release action automatically
92- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
91+ GITHUB_TOKEN : ${{ secrets.RELEASE_PAT || secrets.GITHUB_TOKEN }}
9392 run : |
9493 git config user.name "github-actions[bot]";
9594 git config user.email "github-actions[bot]@users.noreply.github.com";
You can’t perform that action at this time.
0 commit comments