Fix logic for website checker (#12627)

Workflow should run when no docs/cherry-pick label && no pr/docs-label
This commit is contained in:
Luke Kysow 2022-03-25 18:40:51 -07:00 committed by GitHub
parent 7da80ddbb4
commit 633e510f23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ jobs:
website-check: website-check:
# If there's already a `type/docs-cherrypick` label or an explicit `pr/no-docs` label, we ignore this check # If there's already a `type/docs-cherrypick` label or an explicit `pr/no-docs` label, we ignore this check
if: >- if: >-
!contains(github.event.pull_request.labels.*.name, 'type/docs-cherrypick') || !contains(github.event.pull_request.labels.*.name, 'type/docs-cherrypick') &&
!contains(github.event.pull_request.labels.*.name, 'pr/no-docs') !contains(github.event.pull_request.labels.*.name, 'pr/no-docs')
runs-on: ubuntu-latest runs-on: ubuntu-latest