Issue automation: test GitHub's new shiny boards

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
pull/18882/head
Ekaterina Gerasimova 2021-09-03 11:42:06 +01:00
parent e88948917a
commit b873185c68
1 changed files with 17 additions and 0 deletions

View File

@ -19,3 +19,20 @@ jobs:
project-url: "https://github.com/orgs/vector-im/projects/14"
column-name: "📥 Inbox"
label-name: "X-Needs-Design"
test_board_beta_with_design_issues:
name: Move priority X-Needs-Design issues to Beta test 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-Intermediate')) &&
(contains(github.event.issue.labels.*.name, 'S-Critical') ||
contains(github.event.issue.labels.*.name, 'S-Major') ||
contains(github.event.issue.labels.*.name, 'S-Minor'))
steps:
- uses: konradpabjan/move-labeled-or-milestoned-issue@v2.0
with:
action-token: "${{ secrets.ELEMENT_BOT_TOKEN }}"
project-url: "https://github.com/orgs/vector-im/projects/15"
column-name: "Todo"
label-name: "X-Needs-Design"