mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
6c39127018
Move X-Needs-Design which are critical or major and high prevalence to the design board Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
29 lines
1.2 KiB
YAML
29 lines
1.2 KiB
YAML
on:
|
|
issues:
|
|
types: [labeled]
|
|
jobs:
|
|
move_all_issues:
|
|
name: Move all X-Needs-Design issues to Design project board
|
|
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"
|
|
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"
|
|
column-name: "Most Urgent"
|
|
label-name: "X-Needs-Design"
|