Skip to content

Commit

Permalink
chore: fix update dep auto merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jan 30, 2024
1 parent 3c96204 commit 4b6f50d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/update_dep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ jobs:
title: Update ${{ github.event.client_payload.package }} to ${{ github.event.client_payload.version }}
token: ${{ secrets.GH_TOKEN }}
- run: sleep 5 # Otherwise pull request may not exist yet causing automerge to fail
- uses: peter-evans/enable-pull-request-automerge@v3
- run: gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}"
if: steps.cpr.outputs.pull-request-operation == 'created'
with:
token: ${{ secrets.GH_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: squash
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit 4b6f50d

Please sign in to comment.