Skip to content

Commit

Permalink
ci: remove pr checks in auto merge workflow
Browse files Browse the repository at this point in the history
This doesn't work and `Require status checks to pass before merging` is on in the settings of this repository
  • Loading branch information
libvoid committed Oct 9, 2023
1 parent e2479f2 commit 90ce0f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dependabot_auto_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ jobs:
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Enable auto-merge for Dependabot PRs
run: gh pr checks --fail-fast && gh pr merge --auto --squash "$PR_URL"
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 90ce0f8

Please sign in to comment.