From 4158a49297974204b2b51072b5a84b778321514f Mon Sep 17 00:00:00 2001 From: Kat Gerasimova Date: Mon, 8 Nov 2021 14:44:22 +0000 Subject: [PATCH] Fix conditional check before moving design issues (#19658) Signed-off-by: Ekaterina Gerasimova --- .github/workflows/triage-move-labelled.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/triage-move-labelled.yml b/.github/workflows/triage-move-labelled.yml index 5d2a56d471..48fd23890f 100644 --- a/.github/workflows/triage-move-labelled.yml +++ b/.github/workflows/triage-move-labelled.yml @@ -20,13 +20,14 @@ jobs: name: Move priority X-Needs-Design issues to Design project board runs-on: ubuntu-latest if: > - ${{ contains(github.event.issue.labels.*.name, 'X-Needs-Design') && + contains(github.event.issue.labels.*.name, 'S-Critical') && (contains(github.event.issue.labels.*.name, 'O-Frequent') || - contains(github.event.issue.labels.*.name, 'O-Occasional')) && - (contains(github.event.issue.labels.*.name, 'S-Critical') || - contains(github.event.issue.labels.*.name, 'S-Major') || - contains(github.event.issue.labels.*.name, 'S-Minor')) }} + contains(github.event.issue.labels.*.name, 'O-Occasional')) || + contains(github.event.issue.labels.*.name, 'S-Major') && + contains(github.event.issue.labels.*.name, 'O-Frequent') || + contains(github.event.issue.labels.*.name, 'A11y') && + contains(github.event.issue.labels.*.name, 'O-Frequent') steps: - uses: octokit/graphql-action@v2.x id: add_to_project