1
0
mirror of synced 2026-01-06 06:02:35 -05:00

Update purge-fastly.yml to run only have workflow_run is successful (#35326)

This commit is contained in:
Grace Park
2023-03-06 13:55:52 -08:00
committed by GitHub
parent 068c7920ab
commit 9b657f6b36

View File

@@ -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