We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0aa1e9 commit 3ad6896Copy full SHA for 3ad6896
.github/workflows/release-plz.yml
@@ -21,6 +21,15 @@ jobs:
21
app-id: 1178949
22
private-key: ${{ secrets.PRIVATE_KEY_5422M4N_BOT }}
23
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'
32
+
33
- name: Checkout repository
34
uses: actions/checkout@v4
35
with:
0 commit comments