Skip to content

Commit 95c3aee

Browse files
committed
update setting up git user to use person who commited to be the one who owns the commit
1 parent 5750b30 commit 95c3aee

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/prep-release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ jobs:
2727
git_user_signingkey: true
2828
git_commit_gpgsign: true
2929
git_tag_gpgsign: true
30+
3031
- name: Setup Git User
3132
run: |
32-
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
33-
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
33+
git config user.name "$GITHUB_ACTOR"
34+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
3435
3536
- name: Parse and Validate Inputs
3637
id: get_inputs

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
git_tag_gpgsign: true
2020
- name: Setup Git User
2121
run: |
22-
git config --global user.email "${{ steps.import-gpg.outputs.email }}"
23-
git config --global user.name "${{ steps.import-gpg.outputs.name }}"
22+
git config user.name "$GITHUB_ACTOR"
23+
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
2424
2525
- name: Run the Release Script
2626
env:

0 commit comments

Comments
 (0)