Fix CI comment workflow after 18196 (#18217)

# Objective

- I messed up in #18196 and broke the CI comment workflow

## Solution

- Use the correct way to check a step
This commit is contained in:
François Mockers 2025-03-09 23:50:57 +01:00 committed by GitHub
parent 8980be997e
commit 2a2e0a8555
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ jobs:
echo "result=false" >> $GITHUB_OUTPUT
fi
- name: "Comment on PR"
if: ${{ steps.find-artifact.outputs.result == 'true' && check-last-comment.outputs.result == 'false' }}
if: ${{ steps.find-artifact.outputs.result == 'true' && steps.check-last-comment.outputs.result == 'false' }}
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}