File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 11
11
with :
12
12
app-id : ${{ vars.RELEASER_APP_ID }}
13
13
private-key : ${{ secrets.RELEASER_APP_PRIVATE_KEY }}
14
- - uses : ./actions/staging-tests
15
- with :
16
- token : ${{ steps.app-token.outputs.token }}
14
+ - name : Get GitHub App User ID
15
+ id : get-user-id
16
+ run : echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
17
+ env :
18
+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
19
+ - id : committer
20
+ run : echo "string=${{ steps.app-token.outputs.app-slug }}[bot] <${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>" >> "$GITHUB_OUTPUT"
21
+ - run : echo "committer string is ${ {steps.committer.outputs.string }}"
You can’t perform that action at this time.
0 commit comments