From 5a13e6ae42dfb9e2895a8b919a8871b41c14a7f8 Mon Sep 17 00:00:00 2001 From: Stalgia Grigg Date: Mon, 27 May 2024 19:39:54 -0700 Subject: [PATCH] Config auth before release --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bec21a8..7d92c78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,6 +22,11 @@ jobs: - name: Install dependencies run: npm install + - name: Configure Git + run: | + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + - name: Generate release version run: npm run release env: @@ -29,8 +34,6 @@ jobs: - name: Push version changes run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" git push --follow-tags origin main env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}