Merge pull request #4443 from kittykat/actions

Actions: fix up triage conditionals
This commit is contained in:
Benoit Marty 2021-11-15 09:51:45 +01:00 committed by GitHub
commit 087a987f88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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: