Skip to content

Commit

Permalink
Use a CI app token.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Apr 29, 2023
1 parent 637dfee commit 905bd44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/update_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,18 @@ jobs:
run: bundle exec rake slack:api:update
- name: Remove files added by setup-ruby
run: rm -rf vendor
- name: GitHub App token
id: github_app_token
uses: tibdex/github-app-token@v1.6.0
with:
app_id: ${{ secrets.CI_APP_ID }}
private_key: ${{ secrets.CI_APP_PRIVATE_KEY }}
installation_id: 36985419
- name: Create pull request
id: create-pull-request
uses: peter-evans/create-pull-request@v4
with:
token: ${{ steps.github_app_token.outputs.token }}
commit-message: Update API from slack-api-ref
title: Update API from slack-api-ref
body: |
Expand Down

0 comments on commit 905bd44

Please sign in to comment.