Skip to content

Commit 905bd44

Browse files
committed
Use a CI app token.
1 parent 637dfee commit 905bd44

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/update_api.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,18 @@ jobs:
2626
run: bundle exec rake slack:api:update
2727
- name: Remove files added by setup-ruby
2828
run: rm -rf vendor
29+
- name: GitHub App token
30+
id: github_app_token
31+
uses: tibdex/[email protected]
32+
with:
33+
app_id: ${{ secrets.CI_APP_ID }}
34+
private_key: ${{ secrets.CI_APP_PRIVATE_KEY }}
35+
installation_id: 36985419
2936
- name: Create pull request
3037
id: create-pull-request
3138
uses: peter-evans/create-pull-request@v4
3239
with:
40+
token: ${{ steps.github_app_token.outputs.token }}
3341
commit-message: Update API from slack-api-ref
3442
title: Update API from slack-api-ref
3543
body: |

0 commit comments

Comments
 (0)