diff --git a/.github/workflows/update-browserslist-db.yml b/.github/workflows/update-browserslist-db.yml index 83e5a4f..3eae7b7 100644 --- a/.github/workflows/update-browserslist-db.yml +++ b/.github/workflows/update-browserslist-db.yml @@ -41,6 +41,7 @@ jobs: GH_TOKEN: ${{ secrets.requirements_bot_github_token }} - name: Enable Pull Request Automerge + if: steps.cpr.outputs.pull-request-operation == 'created' run: gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}" env: GH_TOKEN: ${{ secrets.requirements_bot_github_token }}