Skip to content

Commit 4072e40

Browse files
Update default.yml
added github actions git user config
1 parent 14f1896 commit 4072e40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/default.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ jobs:
5252
FULL_VERSION=${{ github.event.release.tag_name }}
5353
SHORT_VERSION=${FULL_VERSION:1}
5454
echo shortVersion=${SHORT_VERSION} >> $GITHUB_OUTPUT
55+
56+
- name: Configure Git user
57+
if: ${{ github.event_name == 'release' }}
58+
run: |
59+
git config user.email "[email protected]"
60+
git config user.name "GitHub Actions"
5561
5662
- name: Update release version
5763
run: npm version ${{ steps.release.outputs.shortVersion }}

0 commit comments

Comments
 (0)