Fix multiline 'if' syntax to not return false positives (#21220)
This commit is contained in:
2
.github/workflows/site-policy-reminder.yml
vendored
2
.github/workflows/site-policy-reminder.yml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
run:
|
||||
if: |
|
||||
if: >-
|
||||
github.event.label.name == 'Site Policy' &&
|
||||
github.repository == 'github/docs-internal'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
2
.github/workflows/site-policy-sync.yml
vendored
2
.github/workflows/site-policy-sync.yml
vendored
@@ -22,7 +22,7 @@ on:
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
copy-file:
|
||||
if: |
|
||||
if: >-
|
||||
github.event.pull_request.merged == true &&
|
||||
github.repository == 'github/docs-internal'
|
||||
# The type of runner that the job will run on
|
||||
|
||||
Reference in New Issue
Block a user