Update purge-fastly.yml to run only have workflow_run is successful (#35326)
This commit is contained in:
2
.github/workflows/purge-fastly.yml
vendored
2
.github/workflows/purge-fastly.yml
vendored
@@ -30,7 +30,7 @@ env:
|
||||
|
||||
jobs:
|
||||
send-purges:
|
||||
if: ${{ github.repository == 'github/docs-internal' }}
|
||||
if: ${{ github.repository == 'github/docs-internal' && (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repo
|
||||
|
||||
Reference in New Issue
Block a user