From 12efa90b976a0ba24a1d7249f287c81db2fde51a Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Mon, 11 Dec 2023 10:04:40 -0500 Subject: [PATCH] ci(release-notes): replace release-drafter with release labels config --- .github/release-drafter.yml | 46 --------------------------- .github/release.yml | 21 ++++++++++++ .github/workflows/release-drafter.yml | 25 --------------- 3 files changed, 21 insertions(+), 71 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 3d8022807..000000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,46 +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' - -autolabeler: - - label: 'feat' - title: '/^feat:/' - - label: 'fix' - title: '/^fix:/' - - label: 'docs' - title: '/^docs:/' - - - label: 'chore' - title: '/^chore:/' - - label: 'ci' - title: '/^ci:/' - - label: 'cleanup' - title: '/^cleanup:/' - - label: 'perf' - title: '/^perf:/' - - label: 'refactor' - title: '/^refactor:/' - - label: 'style' - title: '/^style:/' - - label: 'test' - title: '/^test:/' - -template: | - ## Contributors - $CONTRIBUTORS - ## What's Changed - $CHANGES - diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 000000000..dc9270980 --- /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 3d3c7b229..000000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Release Drafter - -on: - push: - # branches to consider in the event; optional, defaults to all - branches: - - main - # pull_request event is required only for autolabeler - pull_request: - # Only following types are handled by the action, but one can default to all as well - types: - - opened - - reopened - - synchronize - -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 }}