Skip to content

Commit

Permalink
Use rebase to merge update PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jan 14, 2024
1 parent c0b0e06 commit 936b042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
- name: Auto approve and merge
if: steps.cpr.outputs.pull-request-operation == 'created'
run: |
gh pr merge -R "${{ github.repository }}" --merge --auto "${{ steps.cpr.outputs.pull-request-number }}"
gh pr merge -R "${{ github.repository }}" --rebase --auto "${{ steps.cpr.outputs.pull-request-number }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 936b042

Please sign in to comment.