From c3b2e6af3384add4cb3f6f7a8d4dce3ddc11a2e2 Mon Sep 17 00:00:00 2001 From: Guilherme Date: Sat, 14 Sep 2024 00:00:01 +0200 Subject: [PATCH 1/4] fix: ansi pipe markdown (#44) --- .github/workflows/tag.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index e2a774c..8d127c3 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -34,3 +34,5 @@ jobs: git config user.email github-actions@github.com git tag -a v$VERSION -m "Release v$VERSION" git push origin v$VERSION + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_BOT }} From 5d868e92915d9e4c81d6c6cdc7381460c96d93d4 Mon Sep 17 00:00:00 2001 From: Guilherme Prokisch Date: Sat, 14 Sep 2024 00:09:58 +0200 Subject: [PATCH 2/4] ci: add tag ga env --- .github/workflows/tag.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 8d127c3..7bde49e 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -30,8 +30,6 @@ jobs: if: steps.extract_version.outputs.version != '' run: | VERSION=${{ steps.extract_version.outputs.version }} - git config user.name github-actions - git config user.email github-actions@github.com git tag -a v$VERSION -m "Release v$VERSION" git push origin v$VERSION env: From e18225321a1120193b32ebf6cdb1fab129fc1bf6 Mon Sep 17 00:00:00 2001 From: Guilherme Prokisch Date: Sat, 14 Sep 2024 00:15:11 +0200 Subject: [PATCH 3/4] ci: add tag ga env --- .github/workflows/tag.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 7bde49e..3ec2a59 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -30,6 +30,8 @@ jobs: if: steps.extract_version.outputs.version != '' run: | VERSION=${{ steps.extract_version.outputs.version }} + git config user.name Guilherme Prokisch + git config user.email guilherme.prokisch@gmail.com git tag -a v$VERSION -m "Release v$VERSION" git push origin v$VERSION env: From 8b73f527893f058e063d35af01fb34a106e50abe Mon Sep 17 00:00:00 2001 From: Guilherme Prokisch Date: Sat, 14 Sep 2024 00:25:43 +0200 Subject: [PATCH 4/4] ci: add tag ga env --- .github/workflows/tag.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index 3ec2a59..6d0f595 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -15,6 +15,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + with: + token: ${{ secrets.RELEASE_BOT }} - name: Extract version from commit message id: extract_version @@ -35,4 +37,4 @@ jobs: git tag -a v$VERSION -m "Release v$VERSION" git push origin v$VERSION env: - GITHUB_TOKEN: ${{ secrets.RELEASE_BOT }} + GH_TOKEN: ${{ secrets.RELEASE_BOT }}