Skip to content

Commit

Permalink
fix "Check if PR exists" step
Browse files Browse the repository at this point in the history
  • Loading branch information
misteriaud committed Jun 17, 2024
1 parent 36aa709 commit 67379e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/buildimages-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ jobs:
--base ${{ github.ref }} \
--json title \
--jq 'length')
if [ prs > 0 ]; then
echo "SKIP=true" >> $GITHUB_OUTPUT
if [ $prs -gt 0 ]; then
echo "SKIP=true" >> $GITHUB_OUTPUT
fi
# Create PR only if there is no pre-existing PR on the branch
Expand Down

0 comments on commit 67379e1

Please sign in to comment.