From 6eaa195ca11b1c709ffa9f8c2b14a0ad1b1226c2 Mon Sep 17 00:00:00 2001 From: Gavan Lamb Date: Sat, 15 Jun 2024 13:12:38 +1000 Subject: [PATCH] feat(GH-8): Add git config --- .github/workflows/preview.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index acd52cf..15a771e 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -40,6 +40,9 @@ jobs: - name: Set version run: | + git config user.name '${{ github.actor }}' + git config user.email '${{ github.actor }}@users.noreply.github.com' + git remote set-url origin https://${{ github.actor }}:${{ github.token }}@github.com/${{ github.repository }} npm version ${{ steps.get-version.outputs.semVer }} -m "chore: [skip-ci] set version to %s" - name: Restore dependencies