ci: Fix release tag push (#5696)

This commit is contained in:
Mathias Fredriksson
2023-01-12 22:18:10 +02:00
committed by GitHub
parent 3861d1c555
commit 269e0b3261
+4 -2
View File
@@ -64,6 +64,8 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# Set token for pushing protected tag (vX.X.X).
token: ${{ secrets.RELEASE_GITHUB_PAT }}
# If the event that triggered the build was an annotated tag (which our
# tags are supposed to be), actions/checkout has a bug where the tag in
@@ -76,8 +78,8 @@ jobs:
# Configure git user name/email for creating annotated version tag.
- name: Setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email ""
git config user.name "Coder CI"
git config user.email "dean+cdrci@coder.com"
- name: Create release tag and release notes
run: |