Merge pull request #18882 from kittykat/issue-automation

Issue automation: test GitHub's new shiny boards
This commit is contained in:
Kat Gerasimova 2021-09-03 11:50:32 +01:00 committed by GitHub
commit 5e68c95d8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"