Skip to content

Commit 6aa0204

Browse files
committed
ci(github-actions): use create-github-app-token to generate semantic release token
1 parent d08b6a8 commit 6aa0204

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ jobs:
2121
with:
2222
app-id: ${{ secrets.APP_ID }}
2323
private-key: ${{ secrets.APP_PRIVATE_KEY }}
24-
- name: Get GitHub App User ID
25-
id: get-user-id
26-
run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
27-
env:
28-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
29-
- run: |
30-
git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
31-
git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
3224
- name: Checkout repository
3325
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
3426
with:

0 commit comments

Comments
 (0)