Skip to content

Commit b717449

Browse files
authored
Merge pull request #161 from adamstankiewicz/ags/browserslist-db-automation
fix: only enable automerge when PR is created in `update-browserslist-db`
2 parents 1b572d7 + 00427ef commit b717449

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/update-browserslist-db.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
GH_TOKEN: ${{ secrets.requirements_bot_github_token }}
4242

4343
- name: Enable Pull Request Automerge
44+
if: steps.cpr.outputs.pull-request-operation == 'created'
4445
run: gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}"
4546
env:
4647
GH_TOKEN: ${{ secrets.requirements_bot_github_token }}

0 commit comments

Comments
 (0)