Skip to content

Commit 3ab05e2

Browse files
authored
fix: use GitHub App bot identity for release tags (#268)
1 parent e6a3a21 commit 3ab05e2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,13 @@ jobs:
9090

9191
- name: Set git config
9292
run: |
93-
git config --global user.email "github-actions@github.com"
94-
git config --global user.name "github-actions"
93+
git config --global user.email "${APP_ID}+${APP_SLUG}[bot]@users.noreply.github.com"
94+
git config --global user.name "${APP_SLUG}[bot]"
9595
git config --global url."https://x-access-token:${GITHUB_TOKEN}@github.com/".insteadOf https://github.com/
9696
env:
9797
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
98+
APP_ID: ${{ vars.APP_ID }}
99+
APP_SLUG: ${{ steps.app-token.outputs.app-slug }}
98100

99101
- uses: actions/checkout@v6
100102
with:

0 commit comments

Comments
 (0)