Only notify about successful deploy if successful (#46051)
This commit is contained in:
@@ -18,7 +18,12 @@ permissions:
|
||||
|
||||
jobs:
|
||||
find-pr-and-post-comment:
|
||||
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
|
||||
|
||||
7
.github/workflows/purge-fastly.yml
vendored
7
.github/workflows/purge-fastly.yml
vendored
@@ -30,7 +30,12 @@ env:
|
||||
|
||||
jobs:
|
||||
send-purges:
|
||||
if: ${{ github.repository == 'github/docs-internal' && (github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success') }}
|
||||
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