From c0f868883130936844894326fb636e015141f33a Mon Sep 17 00:00:00 2001 From: Tine Kondo Date: Sun, 24 Mar 2024 20:12:59 +0000 Subject: [PATCH] chore(release): setup git config user and permission to push --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3ca899b3..6a7f7ac5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: release: name: Build, Release & Publish permissions: - contents: read + contents: write id-token: write # needed for provenance data generation runs-on: ubuntu-latest steps: @@ -25,6 +25,11 @@ jobs: fetch-depth: 0 fetch-tags: true + - name: Setup Git + run: | + git config --global user.email semantic-release@github.com + git config --global user.name "Semantic Release CI" + - name: Install node, pnpm, and dependencies uses: ./.github/actions/install-dependencies