Browse Source

Run resolve-comment step on success regardless of changed-file count

pull/25415/head
maliming 3 months ago
parent
commit
99406aa677
No known key found for this signature in database GPG Key ID: A646B9CB645ECEA4
  1. 6
      .github/workflows/check-docs-syntax.yml

6
.github/workflows/check-docs-syntax.yml

@ -179,7 +179,11 @@ jobs:
}
- name: Resolve previous failure comment on success
if: success() && (steps.changed.outputs.count != '0' || steps.changed.outputs.paramsChanged == 'true')
# Clear any stale failure comment whenever this workflow run is green,
# even if the syntax checker step was skipped (e.g. when a later
# commit reverts the earlier failure so no markdown files appear in
# the PR's net diff).
if: success()
uses: actions/github-script@v7
with:
script: |

Loading…
Cancel
Save