mirror of https://github.com/status-im/consul.git
Fix logic for website checker (#12627)
Workflow should run when no docs/cherry-pick label && no pr/docs-label
This commit is contained in:
parent
7da80ddbb4
commit
633e510f23
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue