Skip to content

Commit

Permalink
fix: only enable auto merge on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Sep 12, 2022
1 parent 9690af0 commit 635c6e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ runs:

- name: 🙏 Enable PR Auto-merge
uses: peter-evans/enable-pull-request-automerge@v2
if: ${{ steps.release-please.outputs.release_created }}
if: ${{ steps.release-please.outputs.release_created != 'true' }}
with:
token: ${{ inputs.repo-token }}
pull-request-number: ${{ fromJSON(steps.release-please.outputs.pr).number }}
Expand Down

0 comments on commit 635c6e7

Please sign in to comment.