From cea6cc534091c417fc83ba4c021c2726e4567688 Mon Sep 17 00:00:00 2001 From: Wanjohi <71614375+wanjohiryan@users.noreply.github.com> Date: Wed, 1 May 2024 02:24:57 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(github):=20Add=20build=20typ?= =?UTF-8?q?e=20to=20auto-labeller=20for=20dependabot=20(#36)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description **What(what issue does this code solve/what feature does it add):** Dependabot does not have a `build` semver type and it keeps triggering the autolabeller. So, i added that in there, plus slimmed down the pull_request_template as it required too much info, which made it too cumbersome filling it --- .github/pull_request_template.md | 11 +---------- .github/workflows/autolabeller.yml | 19 +++++++++---------- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 37cd6022..dad5f890 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,12 +1,3 @@ ## Description -**What(what issue does this code solve/what feature does it add):** - -**How(how does it solve it):** - -## Required Checklist: - -- [ ] I have added any necessary documentation and comments in my code (where appropriate) -- [ ] I have added tests to make sure my code runs in all contexts - -## Further comments \ No newline at end of file +**What issue are you solving (or what feature are you adding) and how are you doing it?** \ No newline at end of file diff --git a/.github/workflows/autolabeller.yml b/.github/workflows/autolabeller.yml index 4fb3dddd..57091e8c 100644 --- a/.github/workflows/autolabeller.yml +++ b/.github/workflows/autolabeller.yml @@ -26,22 +26,21 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GIT_MASTER_TOKEN }} with: - #TODO: fix all emojis types: |- + build + chore + ci + deprecate + docs feat fix - chore - docs - test - security + perf + refactor remove revert - perf + security style - deprecate - refactor - ci - build + test requireScope: false # Ensures the subject start with an uppercase character. subjectPattern: ^([A-Z]).+$