Skip to content

Commit

Permalink
Update auto-merge.yml
Browse files Browse the repository at this point in the history
This is just a small change to the description in the workflow name.

I noticed this workflow was failing with: `failed to create review: GraphQL: GitHub Actions is not permitted to approve pull requests`. So I changed the settings to allow it
  • Loading branch information
AdrianDAlessandro authored Aug 1, 2024
1 parent 0ecb948 commit d10900b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' }}
steps:
- name: Enable auto-merge for Dependabot PRs
- name: Enable auto-merge for Dependabot and pre-commit-ci PRs
run: |
gh pr review --approve "$PR_URL"
gh pr merge --auto --merge "$PR_URL"
Expand Down

0 comments on commit d10900b

Please sign in to comment.