1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Fix multiline 'if' syntax to not return false positives (#21220)

This commit is contained in:
James M. Greene
2021-08-31 12:17:55 -05:00
committed by GitHub
parent 867a973dc3
commit 41bd23742e
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ on:
jobs:
run:
if: |
if: >-
github.event.label.name == 'Site Policy' &&
github.repository == 'github/docs-internal'
runs-on: ubuntu-latest

View File

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