From e9174f38276ba1017e2abe0277d9601cc561275b Mon Sep 17 00:00:00 2001 From: Yann Thibodeau Date: Sun, 3 Nov 2024 10:00:41 -0500 Subject: [PATCH] chore: added git identity before releasing --- .github/workflows/publish-package.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 21ec42f..abb133b 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -66,6 +66,12 @@ jobs: - name: Run benchmark run: npm run benchmark + - name: Configure Git identity (required to create NX git commit and tags) + if: github.ref == 'refs/heads/master' + run: | + git config --global user.email "nx@fake-domain.com" + git config --global user.name "NX CI Bot" + - name: Release + Publish package if: github.ref == 'refs/heads/master' env: