From ebceeb0d69eb30feda8f33224d190b1b328abfed Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 11 Dec 2023 11:15:08 -0500 Subject: [PATCH] ci(release-notes): replace release-drafter with release labels config (#1828) (#1829) (cherry picked from commit d40c54b99fd12268adac6e366b78eb75068e57db) Co-authored-by: Andrew Azores --- .github/release-drafter.yml | 23 ----------------------- .github/release.yml | 21 +++++++++++++++++++++ .github/workflows/release-drafter.yml | 18 ------------------ 3 files changed, 21 insertions(+), 41 deletions(-) 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/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 3969ec5851..0000000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,23 +0,0 @@ -categories: - - title: 'Features' - label: 'feat' - - title: 'Fixes' - label: 'fix' - - title: 'Documentation' - label: 'docs' - - title: 'Maintenance' - labels: - - 'chore' - - 'ci' - - 'cleanup' - - 'perf' - - 'refactor' - - 'style' - - 'test' - -template: | - ## Contributors - $CONTRIBUTORS - ## What's Changed - $CHANGES - diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000000..dc9270980e --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,21 @@ +changelog: + categories: + - title: '🚀 Features' + labels: + - 'feat' + - title: '🔧 Fixes' + labels: + - 'fix' + - title: '📄 Documentation' + labels: + - 'docs' + - title: '⚙️ Maintenance' + labels: + - 'chore' + - 'ci' + - 'perf' + - 'test' + - 'build' + - title: 'Others' + labels: + - "*" diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index c0bdcc02bd..0000000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Release Drafter - -on: - push: - # branches to consider in the event; optional, defaults to all - branches: - - main - -jobs: - update_release_draft: - runs-on: ubuntu-latest - permissions: - contents: write - steps: - # Drafts your next Release notes as Pull Requests are merged into "main" - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}