schildi-web/.github/workflows/triage-move-unlabelled.yml
Kat Gerasimova f9cbdb8aa0
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>
2021-11-02 20:54:00 +00:00

23 lines
740 B
YAML

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 }}