From 60b61dbf27e538567ac60efffdd71d12e7c53905 Mon Sep 17 00:00:00 2001 From: Ekaterina Gerasimova Date: Tue, 17 Aug 2021 23:25:58 +0100 Subject: [PATCH] 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 --- .github/workflows/triage-priority-bugs.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/triage-priority-bugs.yml diff --git a/.github/workflows/triage-priority-bugs.yml b/.github/workflows/triage-priority-bugs.yml new file mode 100644 index 0000000000..8de113c13f --- /dev/null +++ b/.github/workflows/triage-priority-bugs.yml @@ -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 }} +