2021-08-04 17:50:09 +00:00
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types: [labeled]
|
|
|
|
jobs:
|
2021-08-19 07:46:18 +00:00
|
|
|
move_priority_design_issues:
|
|
|
|
name: Move priority X-Needs-Design issues to Design project board
|
2021-08-18 08:10:48 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
if: >
|
|
|
|
contains(github.event.issue.labels.*.name, 'X-Needs-Design') &&
|
2021-08-19 10:01:07 +00:00
|
|
|
(contains(github.event.issue.labels.*.name, 'O-Frequent') ||
|
2021-09-03 16:29:19 +00:00
|
|
|
contains(github.event.issue.labels.*.name, 'O-Occasional')) &&
|
2021-08-19 07:46:18 +00:00
|
|
|
(contains(github.event.issue.labels.*.name, 'S-Critical') ||
|
|
|
|
contains(github.event.issue.labels.*.name, 'S-Major') ||
|
2021-08-19 10:01:07 +00:00
|
|
|
contains(github.event.issue.labels.*.name, 'S-Minor'))
|
2021-08-18 08:10:48 +00:00
|
|
|
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/14"
|
2021-08-19 07:46:18 +00:00
|
|
|
column-name: "📥 Inbox"
|
2021-08-18 08:10:48 +00:00
|
|
|
label-name: "X-Needs-Design"
|
2021-09-06 08:39:53 +00:00
|
|
|
|
|
|
|
move_spaces_issues:
|
2021-09-06 09:36:23 +00:00
|
|
|
name: Move Spaces issues to Delight project board
|
2021-09-06 08:39:53 +00:00
|
|
|
runs-on: ubuntu-latest
|
2021-09-06 09:36:23 +00:00
|
|
|
if: >
|
|
|
|
contains(github.event.issue.labels.*.name, 'A-Spaces') ||
|
|
|
|
contains(github.event.issue.labels.*.name, 'A-Space-Settings') ||
|
|
|
|
contains(github.event.issue.labels.*.name, 'A-Subspaces')
|
2021-09-06 08:39:53 +00:00
|
|
|
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/6"
|
|
|
|
column-name: "📥 Inbox"
|
|
|
|
label-name: "A-Spaces"
|