Merge pull request #18631 from kittykat/issue-automation
Issue triage: update automation for design team
This commit is contained in:
commit
1b7b353f48
1 changed files with 11 additions and 16 deletions
27
.github/workflows/issues_to_projects.yaml
vendored
27
.github/workflows/issues_to_projects.yaml
vendored
|
@ -2,9 +2,18 @@ on:
|
||||||
issues:
|
issues:
|
||||||
types: [labeled]
|
types: [labeled]
|
||||||
jobs:
|
jobs:
|
||||||
move_all_issues:
|
move_priority_design_issues:
|
||||||
name: Move all X-Needs-Design issues to Design project board
|
name: Move priority X-Needs-Design issues to Design project board
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: >
|
||||||
|
contains(github.event.issue.labels.*.name, 'X-Needs-Design') &&
|
||||||
|
(contains(github.event.issue.labels.*.name, 'P-High') ||
|
||||||
|
contains(github.event.issue.labels.*.name, 'O-Frequent')) ||
|
||||||
|
(contains(github.event.issue.labels.*.name, 'P-Medium') ||
|
||||||
|
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:
|
steps:
|
||||||
- uses: konradpabjan/move-labeled-or-milestoned-issue@v2.0
|
- uses: konradpabjan/move-labeled-or-milestoned-issue@v2.0
|
||||||
with:
|
with:
|
||||||
|
@ -12,17 +21,3 @@ 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"
|
||||||
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"
|
|
||||||
|
|
Loading…
Reference in a new issue