From 4e547b31e8848d9d478a2fe2315f0f4e69a40469 Mon Sep 17 00:00:00 2001 From: Charis <26616127+charislam@users.noreply.github.com> Date: Thu, 29 May 2025 15:26:02 -0400 Subject: [PATCH] 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. --- .github/workflows/docs-lint-v2-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs-lint-v2-comment.yml b/.github/workflows/docs-lint-v2-comment.yml index a518588e55..7194e9e218 100644 --- a/.github/workflows/docs-lint-v2-comment.yml +++ b/.github/workflows/docs-lint-v2-comment.yml @@ -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'