Skip to content

Commit

Permalink
Make squash auto merge (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvalitov authored Feb 23, 2025
1 parent d95d956 commit 2ea0285
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,10 @@ jobs:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]' # Only trigger for Dependabot PRs
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Auto-merge Dependabot PRs
run: |
gh pr comment "$PR_URL" --body "Auto-merging this Dependabot PR."
gh pr merge "$PR_URL" --auto --merge
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 2ea0285

Please sign in to comment.