Add issue triage automation

Fixes #4250

Move new issues into incoming column and move X-Needs-Info into Need info column on the vector-im/element-android/projects/4 board

Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
This commit is contained in:
Ekaterina Gerasimova 2021-10-14 13:44:19 +01:00
parent 1f74bc986d
commit 59a3b84c1d
3 changed files with 32 additions and 0 deletions

15
.github/workflows/triage-incoming.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Move new issues onto Issue triage board
on:
issues:
types: [opened]
jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus@v0.8.1
with:
project: Issue triage
column: Incoming
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}

16
.github/workflows/triage-needs-info.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Move X-Needs-Info into Need info column in the Issue triage board
on:
issues:
types: [labeled]
jobs:
Move_Labeled_Issue_On_Project_Board:
runs-on: ubuntu-latest
steps:
- uses: konradpabjan/move-labeled-or-milestoned-issue@v2.0
with:
action-token: ${{ secrets.GITHUB_TOKEN }}
project-url: "https://github.com/vector-im/element-android/projects/4"
column-name: "Need info"
label-name: "X-Needs-Info"

1
changelog.d/4250.misc Normal file
View File

@ -0,0 +1 @@
Add automation to move incoming issues and X-Needs-Info into the right places on the issue triage board.