File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1212 - name : Checkout repository
1313 uses : actions/checkout@v4
1414
15+ - name : Generate GitHub App Token
16+ uses : actions/create-github-app-token@v1
17+ id : app-token
18+ with :
19+ app-id : ${{ vars.APP_ID }}
20+ private-key : ${{ secrets.PRIVATE_KEY }}
21+ owner : ${{ github.repository_owner }}
22+
1523 - name : Get GitHub App User ID and setup the git environment
1624 id : get-user-id
1725 run : echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
2129 git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]'
2230 git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>'
2331
24- - name : Generate GitHub App Token
25- uses : actions/create-github-app-token@v1
26- id : app-token
27- with :
28- app-id : ${{ vars.APP_ID }}
29- private-key : ${{ secrets.PRIVATE_KEY }}
30- owner : ${{ github.repository_owner }}
31-
3232 - name : Update Homebrew formula
3333 env :
3434 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments