Issue automation: test GitHub's new shiny boards

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
This commit is contained in:
Ekaterina Gerasimova 2021-09-03 11:42:06 +01:00
parent e88948917a
commit b873185c68

View file

@ -19,3 +19,20 @@ jobs:
project-url: "https://github.com/orgs/vector-im/projects/14" project-url: "https://github.com/orgs/vector-im/projects/14"
column-name: "📥 Inbox" column-name: "📥 Inbox"
label-name: "X-Needs-Design" 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"