2021-08-04 13:50:09 -04:00
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types: [labeled]
|
|
|
|
jobs:
|
2021-08-18 04:10:48 -04:00
|
|
|
move_all_issues:
|
|
|
|
name: Move all X-Needs-Design issues to Design project board
|
2021-08-04 13:50:09 -04:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
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"
|
|
|
|
column-name: "📥 Inbox"
|
|
|
|
label-name: "X-Needs-Design"
|
2021-08-18 04:10:48 -04:00
|
|
|
move_priority_issues:
|
|
|
|
name: Move all 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, 'S-Critical') || contains(github.event.issue.labels.*.name, 'S-Major')) &&
|
|
|
|
contains(github.event.issue.labels.*.name, 'P-High')
|
|
|
|
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-18 04:26:48 -04:00
|
|
|
column-name: "Most urgent"
|
2021-08-18 04:10:48 -04:00
|
|
|
label-name: "X-Needs-Design"
|