From 1f1bf57f686e69e18ab8d5dae87bdd47e8fe9b1a Mon Sep 17 00:00:00 2001 From: Jacob Riddle Date: Fri, 26 Jan 2024 14:30:54 -0500 Subject: [PATCH] updating labels and release config --- .github/labels.yml | 21 ++++++++++++++++++ .github/release-drafter.yml | 21 ------------------ .github/release.yml | 32 +++++++++++++++++++++++++++ .github/workflows/release-drafter.yml | 16 -------------- 4 files changed, 53 insertions(+), 37 deletions(-) create mode 100644 .github/labels.yml delete mode 100644 .github/release-drafter.yml create mode 100644 .github/release.yml delete mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 000000000..0175406f8 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,21 @@ +- name: new-feature + description: for new features in the changelog. + color: 225fee +- name: improvement + description: for improvements in existing functionality in the changelog. + color: 22ee47 +- name: repo-ci-improvement + description: for improvements in the repository or CI workflow in the changelog. + color: c922ee +- name: bugfix + description: for any bug fixes in the changelog. + color: ed8e21 +- name: documentation + description: for updates to the documentation in the changelog. + color: d3e1e6 +- name: testing + description: for updates to the testing suite in the changelog. + color: 933ac9 +- name: breaking-change + description: for breaking changes in the changelog. + color: ff0000 diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 794521367..000000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,21 +0,0 @@ -name-template: 'v$NEXT_PATCH_VERSION' -tag-template: 'v$NEXT_PATCH_VERSION' -categories: - - title: '๐Ÿš€ Added' - label: 'added-feature' - - title: '๐Ÿงฐ Changed' - label: 'changed' - - title: "โš ๏ธ Deprecated" - label: "deprecated" - - title: "โš ๏ธ Removed" - label: "removed" - - title: '๐Ÿ› Bug Fixes' - label: 'bugfix' - - title: "โš ๏ธ Security" - label: "security" -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -no-changes-template: "- No changes" -template: | - ## Changes - - $CHANGES \ No newline at end of file diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 000000000..30ab53231 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,32 @@ +changelog: + exclude: + labels: + - ignore-for-release + categories: + - title: โš ๏ธ Breaking Change + labels: + - breaking-change + - title: ๐Ÿš€ New Features + labels: + - enhancement + - title: ๐Ÿ’ก Improvements + labels: + - improvement + - title: โš™๏ธ Repo/CI Improvements + labels: + - repo-ci-improvement + - title: ๐Ÿ› Bug Fixes + labels: + - bugfix + - title: ๐Ÿ“ฆ Dependency Updates + labels: + - dependencies + - title: ๐Ÿ“– Documentation + labels: + - documentation + - title: ๐Ÿงช Testing Improvements + labels: + - testing + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index 36b0dd040..000000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Release Drafter - -on: - push: - branches: - - main - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - - uses: release-drafter/release-drafter@fe52e97d262833ae07d05efaf1a239df3f1b5cd4 # pin@v5 - with: - config-name: release-drafter.yml - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file