Skip to content

Commit

Permalink
Fix multiline 'if' syntax to not return false positives (github#21220)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMGreene authored Aug 31, 2021
1 parent 867a973 commit 41bd237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/site-policy-reminder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
run:
if: |
if: >-
github.event.label.name == 'Site Policy' &&
github.repository == 'github/docs-internal'
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/site-policy-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41bd237

Please sign in to comment.