corrct the logic

This commit is contained in:
rahulpinto19
2026-02-16 06:23:07 +00:00
parent 4769ac98c0
commit e5e2eb36bd

View File

@@ -77,7 +77,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create PR Comment
if: env.HAS_CHANGES == 'true' && steps.lychee-check.outputs.status != '0'
if: env.HAS_CHANGES == 'true' && steps.lychee-check.outcome == 'failure'
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.pull_request.number }}