Skip to content

Commit

Permalink
Fix if condition
Browse files Browse the repository at this point in the history
Leftover from #18
  • Loading branch information
jerry-git committed Jun 13, 2022
1 parent 86c95a3 commit 82e8e30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
env:
# a PAT is required to be able to update workflows
GITHUB_TOKEN: ${{ secrets.AUTO_UPDATE_GITHUB_TOKEN }}
if: ${{ steps.changes.outputs.changed == 1 && env.GITHUB_TOKEN != 0 }}
if: ${{ steps.changes.outputs.changed > 0 && env.GITHUB_TOKEN != 0 }}
uses: peter-evans/create-pull-request@v3
with:
token: ${{ env.GITHUB_TOKEN }}
Expand Down

0 comments on commit 82e8e30

Please sign in to comment.