File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,17 @@ jobs:
1616 pull-requests : write
1717 actions : read
1818 steps :
19+ - name : Generate GitHub App token
20+ id : app-token
21+ uses : actions/create-github-app-token@v2
22+ with :
23+ app-id : ${{ vars.GITFLOW_APP_ID }}
24+ private-key : ${{ secrets.GITFLOW_APP_PRIVATE_KEY }}
25+
1926 - uses : actions/checkout@v6
2027 with :
2128 ref : ${{ github.head_ref }}
22- token : ${{ secrets.GITHUB_TOKEN }}
29+ token : ${{ steps.app-token.outputs.token }}
2330
2431 - uses : actions/setup-node@v6
2532 with :
7986 if : steps.bump.outputs.summary != ''
8087 env :
8188 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
89+ SUMMARY : ${{ steps.bump.outputs.summary }}
8290 run : |
91+ echo "$SUMMARY" > /tmp/pr-comment.md
8392 gh pr comment "${{ github.event.pull_request.number }}" \
84- --body "${{ steps.bump.outputs.summary }}"
93+ --body-file /tmp/pr-comment.md
8594
8695 - name : Remove label
8796 if : always()
You can’t perform that action at this time.
0 commit comments