Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 269e0b3

Browse files
authored
ci: Fix release tag push (#5696)
1 parent 3861d1c commit 269e0b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
- uses: actions/checkout@v3
6565
with:
6666
fetch-depth: 0
67+
# Set token for pushing protected tag (vX.X.X).
68+
token: ${{ secrets.RELEASE_GITHUB_PAT }}
6769

6870
# If the event that triggered the build was an annotated tag (which our
6971
# tags are supposed to be), actions/checkout has a bug where the tag in
@@ -76,8 +78,8 @@ jobs:
7678
# Configure git user name/email for creating annotated version tag.
7779
- name: Setup git config
7880
run: |
79-
git config user.name "GitHub Actions Bot"
80-
git config user.email ""
81+
git config user.name "Coder CI"
82+
git config user.email "[email protected]"
8183
8284
- name: Create release tag and release notes
8385
run: |

0 commit comments

Comments
 (0)