Fix conditional check before moving design issues (#19658)

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
pull/19670/head
Kat Gerasimova 2021-11-08 14:44:22 +00:00 committed by GitHub
parent 2ef1191afa
commit 4158a49297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -20,13 +20,14 @@ jobs:
name: Move priority X-Needs-Design issues to Design project board name: Move priority X-Needs-Design issues to Design project board
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: > if: >
${{
contains(github.event.issue.labels.*.name, 'X-Needs-Design') && 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-Frequent') ||
contains(github.event.issue.labels.*.name, 'O-Occasional')) && 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-Major') || contains(github.event.issue.labels.*.name, 'O-Frequent') ||
contains(github.event.issue.labels.*.name, 'S-Minor')) }} contains(github.event.issue.labels.*.name, 'A11y') &&
contains(github.event.issue.labels.*.name, 'O-Frequent')
steps: steps:
- uses: octokit/graphql-action@v2.x - uses: octokit/graphql-action@v2.x
id: add_to_project id: add_to_project