Skip to content

Commit 75c6af9

Browse files
Copilotdblock
andcommitted
Fix CI not triggering on automated API update PRs by using GitHub App token
Co-authored-by: dblock <542335+dblock@users.noreply.github.com>
1 parent dd04a47 commit 75c6af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update_api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
id: cpr
4646
uses: peter-evans/create-pull-request@v8
4747
with:
48-
token: ${{ secrets.GITHUB_TOKEN }}
48+
token: ${{ steps.github_app_token.outputs.token || secrets.GITHUB_TOKEN }}
4949
commit-message: Update API from slack-api-ref@${{ steps.api-ref.outputs.api-ref }} (${{ steps.date.outputs.date }})
5050
title: Update API from slack-api-ref@${{ steps.api-ref.outputs.api-ref }}
5151
body: |

0 commit comments

Comments
 (0)