ci(docs lint): fix workflow_run condition (#36038)

The originating workflow was changed so that lint failures fail the
workflow, so now we should be running the target workflow on failure,
not on success.
This commit is contained in:
Charis
2025-05-29 15:26:02 -04:00
committed by GitHub
parent a0a31f00e9
commit 4e547b31e8

View File

@@ -21,7 +21,7 @@ permissions:
jobs:
comment_on_pr:
runs-on: ubuntu-latest
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success'
if: github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'failure'
steps:
- id: download_artifact
name: 'Download artifact'