From 7a1cc854942a034ecebac40943c893f40e46ae34 Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Thu, 25 Apr 2024 14:41:31 -0400 Subject: [PATCH] commit changes --- .github/workflows/publish.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 034f86ad..bdb8f157 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,6 +19,10 @@ jobs: with: node-version: 18.12.0 registry-url: 'https://registry.npmjs.org' + - name: Set git user name/email + run: | + git config --global user.email "actions@github.com" + git config --global user.name "Github Actions Bot" - name: Install dependencies run: npm install - name: Build @@ -30,4 +34,6 @@ jobs: if: ${{ github.ref == 'refs/heads/dev' }} - name: Publish @latest run: npm publish - if: ${{ github.ref == 'refs/heads/main' }} \ No newline at end of file + if: ${{ github.ref == 'refs/heads/main' }} + - name: Commit changes + run: git push && git push --tags \ No newline at end of file