🔑 Use bot token if available in tag workflow

This commit is contained in:
Alicia Sykes 2022-03-28 10:56:42 +01:00
parent 93a531a3f2
commit c2559bc731
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.BOT_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}
tag: ${{ needs.tag-pre-release.outputs.tag }}
bodyFile: ".github/LATEST_CHANGELOG.md"
mark-issue-fixed: