From f4bb54d30f46ec8f435fea009c3b59c611031c3b Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Wed, 22 Feb 2023 13:40:19 +0100 Subject: [PATCH 1/4] README: Set `user.email` to GitHub Actions Bot --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8fe140f55..2eef97ab0 100644 --- a/README.md +++ b/README.md @@ -223,8 +223,8 @@ jobs: - uses: actions/checkout@v3 - run: | date > generated.txt - git config user.name github-actions - git config user.email github-actions@github.com + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" git add . git commit -m "generated" git push From b6b12c8a183d578c56442ee631aab2b48ba647ca Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Wed, 22 Feb 2023 13:47:35 +0100 Subject: [PATCH 2/4] Update workflow to use proper bot GitHub Bot email --- .github/workflows/update-main-version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-main-version.yml b/.github/workflows/update-main-version.yml index c1e046ace..52d2af640 100644 --- a/.github/workflows/update-main-version.yml +++ b/.github/workflows/update-main-version.yml @@ -22,8 +22,8 @@ jobs: fetch-depth: 0 - name: Git config run: | - git config user.name github-actions - git config user.email github-actions@github.com + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" - name: Tag new target run: git tag -f ${{ github.event.inputs.main_version }} ${{ github.event.inputs.target }} - name: Push new tag From c7e6c86a0e89c44f98004c32fa432a59038c3c75 Mon Sep 17 00:00:00 2001 From: Pelle Wessman Date: Mon, 27 Feb 2023 17:19:02 +0100 Subject: [PATCH 3/4] Prefix `user.email` with `41898282+` To match squash merge user, else showing as two different users, see: https://github.com/SocketDev/socket-sdk-js/commit/b0948d0da0cfb5b240c69d063cc34a6399abce48 --- .github/workflows/update-main-version.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-main-version.yml b/.github/workflows/update-main-version.yml index 52d2af640..eebbe82b4 100644 --- a/.github/workflows/update-main-version.yml +++ b/.github/workflows/update-main-version.yml @@ -23,7 +23,7 @@ jobs: - name: Git config run: | git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - name: Tag new target run: git tag -f ${{ github.event.inputs.main_version }} ${{ github.event.inputs.target }} - name: Push new tag diff --git a/README.md b/README.md index 2eef97ab0..4d02e7043 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ jobs: - run: | date > generated.txt git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git add . git commit -m "generated" git push From 44a0471c7da5990a99aea63d45bbaa4cd4dbf870 Mon Sep 17 00:00:00 2001 From: Cory Miller <13227161+cory-miller@users.noreply.github.com> Date: Mon, 29 Apr 2024 14:28:37 -0400 Subject: [PATCH 4/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 471920700..9b6176d94 100644 --- a/README.md +++ b/README.md @@ -279,6 +279,7 @@ jobs: - uses: actions/checkout@v4 - run: | date > generated.txt + # Note: the following account information will not work on GHES git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git add .