From 9adcabb860f5b7fedce03cbb28ff1748a4897985 Mon Sep 17 00:00:00 2001 From: Ekaterina Gerasimova Date: Thu, 19 Aug 2021 11:01:07 +0100 Subject: [PATCH] Issue triage: update automation for new labels --- .github/workflows/issues_to_projects.yaml | 6 ++---- .github/workflows/triage-priority-bugs.yml | 10 +++++++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/issues_to_projects.yaml b/.github/workflows/issues_to_projects.yaml index 8cebc59870..ea8a66a753 100644 --- a/.github/workflows/issues_to_projects.yaml +++ b/.github/workflows/issues_to_projects.yaml @@ -7,13 +7,11 @@ jobs: runs-on: ubuntu-latest if: > contains(github.event.issue.labels.*.name, 'X-Needs-Design') && - (contains(github.event.issue.labels.*.name, 'P-High') || - contains(github.event.issue.labels.*.name, 'O-Frequent')) || - (contains(github.event.issue.labels.*.name, 'P-Medium') || + (contains(github.event.issue.labels.*.name, 'O-Frequent') || contains(github.event.issue.labels.*.name, 'O-Intermediate')) && (contains(github.event.issue.labels.*.name, 'S-Critical') || contains(github.event.issue.labels.*.name, 'S-Major') || - contains(github.event.issue.labels.*.name, 'S-Minor') + contains(github.event.issue.labels.*.name, 'S-Minor')) steps: - uses: konradpabjan/move-labeled-or-milestoned-issue@v2.0 with: diff --git a/.github/workflows/triage-priority-bugs.yml b/.github/workflows/triage-priority-bugs.yml index 8de113c13f..4218531fc9 100644 --- a/.github/workflows/triage-priority-bugs.yml +++ b/.github/workflows/triage-priority-bugs.yml @@ -8,9 +8,13 @@ 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') + contains(github.event.issue.labels.*.name, 'S-Critical') && + (contains(github.event.issue.labels.*.name, 'O-Frequent') || + contains(github.event.issue.labels.*.name, 'O-Intermediate')) || + contains(github.event.issue.labels.*.name, 'S-Major') && + contains(github.event.issue.labels.*.name, 'O-Frequent') || + contains(github.event.issue.labels.*.name, 'A11y') && + contains(github.event.issue.labels.*.name, 'O-Frequent') steps: - uses: alex-page/github-project-automation-plus@v0.8.1 with: