Skip to content

Commit

Permalink
Switch to GitHub App authentication
Browse files Browse the repository at this point in the history
This will allow the CI checks will be ran on the PR raised by the
`create-pull-request` action.
  • Loading branch information
ethax-ross committed Jan 29, 2025
1 parent 91acb42 commit 3ab707f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/refresh_knapsack_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,16 @@ jobs:
- name: Run tests
run: KNAPSACK_GENERATE_REPORT=true bundle exec rake knapsack:rspec

- uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
branch: refresh-knapsack-manifest
delete-branch: true
add-paths: knapsack_rspec_report.json
Expand Down

0 comments on commit 3ab707f

Please sign in to comment.