From 3cf42518580d253736a27df5932494263c8a1ab8 Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Mon, 28 Aug 2023 13:26:24 +0000 Subject: [PATCH 1/7] Rename labeler.yml to pr-labeler.yml --- .github/{labeler.yml => pr-labeler.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{labeler.yml => pr-labeler.yml} (100%) diff --git a/.github/labeler.yml b/.github/pr-labeler.yml similarity index 100% rename from .github/labeler.yml rename to .github/pr-labeler.yml From d9c0ceef1b6e9efe28edf0ffb4d44431ad3ee3e9 Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Mon, 28 Aug 2023 13:29:03 +0000 Subject: [PATCH 2/7] set config path to point to renamed labeler --- .github/workflows/label-pr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/label-pr.yml b/.github/workflows/label-pr.yml index dc2ce54205e5b..9df23f2053b03 100644 --- a/.github/workflows/label-pr.yml +++ b/.github/workflows/label-pr.yml @@ -14,3 +14,4 @@ jobs: - uses: actions/labeler@v4 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/pr-labeler.yml From 8af20dcd53730aff6e5da159b705e15f78101f95 Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:57:03 +0200 Subject: [PATCH 3/7] Create label-issue.yml --- .github/workflows/label-issue.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/label-issue.yml diff --git a/.github/workflows/label-issue.yml b/.github/workflows/label-issue.yml new file mode 100644 index 0000000000000..8eb773f509979 --- /dev/null +++ b/.github/workflows/label-issue.yml @@ -0,0 +1,18 @@ +name: "Issue Labeler" +on: + issues: + types: [opened] + +permissions: + issues: write + contents: read + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v3.2 + with: + configuration-path: .github/issue-labeler.yml + enable-versioned-regex: 0 + repo-token: ${{ secrets.GITHUB_TOKEN }} From 0e2bc54561f9075f89191bacbd03f0f21ea0635b Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:01:41 +0200 Subject: [PATCH 4/7] Create issue-labeler.yml --- .github/issue-labeler.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/issue-labeler.yml diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml new file mode 100644 index 0000000000000..cf6c3ed159ff5 --- /dev/null +++ b/.github/issue-labeler.yml @@ -0,0 +1,2 @@ +'B: visual': + - '(visual bug)' From aaf2b7e7fd7cc7ce1fc03d58ab585da9427d9e29 Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:07:34 +0200 Subject: [PATCH 5/7] Delete autoLabelIssue.yaml --- .github/workflows/autoLabelIssue.yaml | 104 -------------------------- 1 file changed, 104 deletions(-) delete mode 100644 .github/workflows/autoLabelIssue.yaml diff --git a/.github/workflows/autoLabelIssue.yaml b/.github/workflows/autoLabelIssue.yaml deleted file mode 100644 index d0b61a4549111..0000000000000 --- a/.github/workflows/autoLabelIssue.yaml +++ /dev/null @@ -1,104 +0,0 @@ -name: "Set Issue Label and Assignee" -on: - issues: - types: [opened] - -jobs: - label_issue: - runs-on: ubuntu-latest - steps: - - uses: Naturalclar/issue-action@v2.0.2 - with: - title-or-body: "body" - parameters: >- - [ - { - "keywords": ["visual bug"], - "labels": ["B: visual"] - }, - { - "keywords": ["AUR", "Chocolatey", "FreeTubeCordova", "PortableApps", "winget", "Scoop", "Snapcraft", "MPR", "Nix"], - "labels": ["B: Unofficial Download"] - }, - { - "keywords": ["keyboard control not working"], - "labels": ["B: keyboard control"] - }, - { - "keywords": ["text/string issue"], - "labels": ["B: text/string"] - }, - { - "keywords": ["content not loading"], - "labels": ["B: content not loading"] - }, - { - "keywords": ["accessibility issue"], - "labels": ["B: accessibility"] - }, - { - "keywords": ["usability issue"], - "labels": ["B: usability"] - }, - { - "keywords": ["causes crash"], - "labels": ["B: crash"] - }, - { - "keywords": ["feature stopped working"], - "labels": ["B: feature stopped working"] - }, - { - "keywords": ["inconsistent behavior"], - "labels": ["B: inconsistent behavior"] - }, - { - "keywords": ["data loss"], - "labels": ["B: data loss"] - }, - { - "keywords": ["race condition"], - "labels": ["B: race condition"] - }, - { - "keywords": ["API issue"], - "labels": ["B: API issue"] - }, - { - "keywords": ["only happens in developer mode"], - "labels": ["B: developer mode"] - }, - { - "keywords": ["improvement to existing feature"], - "labels": ["E: improvement existing feature"] - }, - { - "keywords": ["new optional setting"], - "labels": ["E: new optional setting"] - }, - { - "keywords": ["visual improvement"], - "labels": ["E: visual improvement"] - }, - { - "keywords": ["display more information to user"], - "labels": ["E: display more information"] - }, - { - "keywords": ["ease of use improvement"], - "labels": ["E: ease of use improvement"] - }, - { - "keywords": ["support for external software"], - "labels": ["E: support external software"] - }, - { - "keywords": ["new feature"], - "labels": ["E: new feature"] - }, - { - "keywords": ["new keyboard shortcut"], - "labels": ["E: keyboard shortcut"] - } - ] - github-token: "${{ secrets.GITHUB_TOKEN }}" From 653cad50fc0d1b10106bdd45ebb028a35ad7df89 Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:18:30 +0200 Subject: [PATCH 6/7] Add all the other labels --- .github/issue-labeler.yml | 63 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml index cf6c3ed159ff5..a4060c915129d 100644 --- a/.github/issue-labeler.yml +++ b/.github/issue-labeler.yml @@ -1,2 +1,65 @@ 'B: visual': - '(visual bug)' + +'B: Unofficial Download': + - '(AUR|Chocolatey|FreeTubeCordova|PortableApps|winget|Scoop|Snapcraft|MPR|Nix)' + +'B: keyboard control': + - '(keyboard control not working)' + +'B: text/string': + - '(text/string issue)' + +'B: content not loading': + - '(content not loading)' + +'B: accessibility': + -'(accessibility issue)' + +'B: usability': + -'(usability issue)' + +'B: crash': + -'(causes crash)' + +'B: feature stopped working': + -'(feature stopped working)' + +'B: inconsistent behavior': + -'(inconsistent behavior)' + +'B: data loss': + -'(data loss)' + +'B: race condition': + -'(race condition)' + +'B: API issue': + -'(API issue)' + +'B: developer mode': + -'(only happens in developer mode)' + +'E: improvement existing feature': + -'(improvement to existing feature)' + +'E: new optional setting': + -'(new optional setting)' + +'E: visual improvement': + -'(visual improvement)' + +'E: display more information': + -'(display more information to user)' + +'E: ease of use improvement': + -'(ease of use improvement)' + +'E: support external software': + -'(support for external software)' + +'E: new feature': + -'(new feature)' + +'E: keyboard shortcut': + -'(new keyboard shortcut)' From 52791eaf1423f9c87d48ce1166a309d8bd5865bb Mon Sep 17 00:00:00 2001 From: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com> Date: Mon, 28 Aug 2023 14:28:41 +0000 Subject: [PATCH 7/7] fix certain labels not being applied --- .github/issue-labeler.yml | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml index a4060c915129d..2cca11162d822 100644 --- a/.github/issue-labeler.yml +++ b/.github/issue-labeler.yml @@ -14,52 +14,52 @@ - '(content not loading)' 'B: accessibility': - -'(accessibility issue)' + - '(accessibility issue)' 'B: usability': - -'(usability issue)' + - '(usability issue)' 'B: crash': - -'(causes crash)' + - '(causes crash)' 'B: feature stopped working': - -'(feature stopped working)' + - '(feature stopped working)' 'B: inconsistent behavior': - -'(inconsistent behavior)' + - '(inconsistent behavior)' 'B: data loss': - -'(data loss)' + - '(data loss)' 'B: race condition': - -'(race condition)' + - '(race condition)' 'B: API issue': - -'(API issue)' + - '(API issue)' 'B: developer mode': - -'(only happens in developer mode)' + - '(only happens in developer mode)' 'E: improvement existing feature': - -'(improvement to existing feature)' + - '(improvement to existing feature)' 'E: new optional setting': - -'(new optional setting)' + - '(new optional setting)' 'E: visual improvement': - -'(visual improvement)' + - '(visual improvement)' 'E: display more information': - -'(display more information to user)' + - '(display more information to user)' 'E: ease of use improvement': - -'(ease of use improvement)' + - '(ease of use improvement)' 'E: support external software': - -'(support for external software)' + - '(support for external software)' 'E: new feature': - -'(new feature)' + - '(new feature)' 'E: keyboard shortcut': - -'(new keyboard shortcut)' + - '(new keyboard shortcut)'