Issue triage: move priority bugs onto team board

Automatically move all bugs with the right label combinations onto the Priority bugs column on the Web App Team's board.

Signed-off-by: Ekaterina Gerasimova <kittykat3756@gmail.com>
pull/18606/head
Ekaterina Gerasimova 2021-08-17 23:25:58 +01:00
parent 05a242d163
commit 60b61dbf27
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: Move labelled issues into the Priority bugs column for the Web App Team
on:
issues:
types: [labeled]
jobs:
Move_high_priority_issues_to_team_workboard:
runs-on: ubuntu-latest
if: >
contains(github.event.issue.labels.*.name, 'S-Critical') && (contains(github.event.issue.labels.*.name, 'P-High') || contains(github.event.issue.labels.*.name, 'P-Medium')) ||
contains(github.event.issue.labels.*.name, 'S-Major') && contains(github.event.issue.labels.*.name, 'P-High') ||
contains(github.event.issue.labels.*.name, 'A11y') && contains(github.event.issue.labels.*.name, 'P-High')
steps:
- uses: alex-page/github-project-automation-plus@v0.8.1
with:
project: Web App Team
column: Priority bugs
repo-token: ${{ secrets.ELEMENT_BOT_TOKEN }}