From 27e44e612d5eb5582cc3e19789bfc672b87f5446 Mon Sep 17 00:00:00 2001 From: Atif Ali <56743004+aali309@users.noreply.github.com> Date: Wed, 4 Oct 2023 12:59:05 -0400 Subject: [PATCH] feat(ci): updated release-drafter (#641) * updated release-drafter * removed autolabeler * fixed indentation --- .github/release-drafter.yml | 61 +++++++++------------------ .github/workflows/release-drafter.yml | 9 ---- 2 files changed, 19 insertions(+), 51 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 3d802280..3969ec58 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,46 +1,23 @@ 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:/' + - 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 + ## Contributors + $CONTRIBUTORS + ## What's Changed + $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index f5fa84fe..17935f41 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -5,19 +5,10 @@ on: # 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: permissions: contents: write - pull-requests: write runs-on: ubuntu-latest steps: # Drafts your next Release notes as Pull Requests are merged into "main"