Skip to content

Commit 44c2b7a

Browse files
cory-millervoxpelli
andauthoredApr 30, 2024
README: Suggest user.email to be 41898282+github-actions[bot]@users.noreply.github.com (#1707)
* README: Set `user.email` to GitHub Actions Bot * Update workflow to use proper bot GitHub Bot email * Prefix `user.email` with `41898282+` To match squash merge user, else showing as two different users, see: SocketDev/socket-sdk-js@b0948d0 * Update README.md --------- Co-authored-by: Pelle Wessman <pelle@kodfabrik.se>
1 parent 8459bc0 commit 44c2b7a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
 

‎.github/workflows/update-main-version.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
fetch-depth: 0
2828
- name: Git config
2929
run: |
30-
git config user.name github-actions
31-
git config user.email github-actions@github.com
30+
git config user.name "github-actions[bot]"
31+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
3232
- name: Tag new target
3333
run: git tag -f ${{ github.event.inputs.major_version }} ${{ github.event.inputs.target }}
3434
- name: Push new tag

‎README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,9 @@ jobs:
279279
- uses: actions/checkout@v4
280280
- run: |
281281
date > generated.txt
282-
git config user.name github-actions
283-
git config user.email github-actions@github.com
282+
# Note: the following account information will not work on GHES
283+
git config user.name "github-actions[bot]"
284+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
284285
git add .
285286
git commit -m "generated"
286287
git push

0 commit comments

Comments
 (0)
Failed to load comments.