From 8cbb850eecb462b912b5a9866e56250c62a086e6 Mon Sep 17 00:00:00 2001 From: Mathias Fredriksson Date: Thu, 12 Jan 2023 19:34:55 +0000 Subject: [PATCH] ci: Fix release tag push --- .github/workflows/release.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e597d92f3b2a2..f6ddf887c0240 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: |