Actions: fix up triage conditionals

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
This commit is contained in:
Ekaterina Gerasimova 2021-11-10 13:02:21 +00:00
parent dc486557cf
commit e923d94d6c
1 changed files with 2 additions and 4 deletions

View File

@ -20,13 +20,12 @@ 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, '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, 'S-Minor'))
steps:
- uses: octokit/graphql-action@v2.x
id: add_to_project
@ -82,8 +81,7 @@ jobs:
name: Move A-Voice Messages to Voice message board
runs-on: ubuntu-latest
if: >
${{
contains(github.event.issue.labels.*.name, 'A-Voice Messages') }}
contains(github.event.issue.labels.*.name, 'A-Voice Messages')
steps:
- uses: octokit/graphql-action@v2.x
with: