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:
2
.github/workflows/docs-lint-v2-comment.yml
vendored
2
.github/workflows/docs-lint-v2-comment.yml
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user