Skip to content

Commit

Permalink
Update dependabot.yml
Browse files Browse the repository at this point in the history
Use --rebase instead of --merge as merge commits are not allowed see https://cli.github.com/manual/gh_pr_merge
  • Loading branch information
laeubi committed Feb 7, 2024
1 parent bde1853 commit 1876254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand Down

0 comments on commit 1876254

Please sign in to comment.