Update issue -> board automation (#19589)
Merge issues-to-projects and triage-needs-info into one under a new name as they have the same trigger. Add automation to move ex-needs info issues to triaged when labels are updated. Fixes #18523 Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
This commit is contained in:
parent
ad6ec9ed10
commit
f9cbdb8aa0
4 changed files with 72 additions and 52 deletions
22
.github/workflows/triage-move-unlabelled.yml
vendored
Normal file
22
.github/workflows/triage-move-unlabelled.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Move unlabelled from needs info columns to triaged
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [unlabeled]
|
||||
|
||||
jobs:
|
||||
Move_Unabeled_Issue_On_Project_Board:
|
||||
name: Move no longer X-Needs-Info issues to Triaged
|
||||
runs-on: ubuntu-latest
|
||||
if: >
|
||||
${{
|
||||
(github.event.project_card.project_card.column_id == 15439170 ||
|
||||
github.event.project_card.project_card.column_id == 16669396 ||
|
||||
github.event.project_card.project_card.column_id == 16669398) &&
|
||||
!contains(github.event.issue.labels.*.name, 'X-Needs-Info') }}
|
||||
steps:
|
||||
- uses: alex-page/github-project-automation-plus@v0.8.1
|
||||
with:
|
||||
project: Issue triage
|
||||
column: Triaged
|
||||
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue