Skip to content

Commit

Permalink
Fix dependabot_automerge.yml workflow
Browse files Browse the repository at this point in the history
Use squash instead of merge.

Signed-off-by: Antonin Bas <[email protected]>
  • Loading branch information
antoninbas committed Oct 16, 2023
1 parent ddef844 commit 4b21fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot_automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for npm Dependabot PRs (except major updates)
if: ${{ steps.metadata.outputs.package-ecosystem == 'npm_and_yarn' && steps.metadata.outputs.update-type != 'version-update:semver-major' }}
run: gh pr merge --auto --merge "$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 4b21fc5

Please sign in to comment.