From 4aaa561147392ef4ab9dbc6b223d6050d449d825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Tue, 9 Mar 2021 16:43:14 +0100 Subject: [PATCH 1/2] Add release drafter file --- .github/release-draft-template.yml | 14 ++++++++++++++ .github/workflows/release-drafter.yml | 17 +++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .github/release-draft-template.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-draft-template.yml b/.github/release-draft-template.yml new file mode 100644 index 000000000..d61e1a84b --- /dev/null +++ b/.github/release-draft-template.yml @@ -0,0 +1,14 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +version-template: '0.21.0-alpha.$PATCH' +version-resolver: + default: patch +categories: + - title: 'Breaking changes ⚠️' + label: 'breaking-change' +template: | + ## Changes + + $CHANGES +no-changes-template: 'Changes are coming soon 😎' +sort-direction: 'ascending' diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..184de7258 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,17 @@ +name: Release Drafter + +on: + push: + branches: + # - main + - release-drafter + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + with: + config-name: release-draft-template.yml + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_DRAFTER_TOKEN }} From 85f3b192d5c49c9199f7c3ab942efcb464b91b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Tue, 9 Mar 2021 19:04:32 +0100 Subject: [PATCH 2/2] Update release-draft-template.yml --- .github/release-draft-template.yml | 7 ++----- .github/workflows/release-drafter.yml | 5 ++--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/release-draft-template.yml b/.github/release-draft-template.yml index d61e1a84b..e15489af8 100644 --- a/.github/release-draft-template.yml +++ b/.github/release-draft-template.yml @@ -1,14 +1,11 @@ name-template: 'v$RESOLVED_VERSION' tag-template: 'v$RESOLVED_VERSION' version-template: '0.21.0-alpha.$PATCH' -version-resolver: - default: patch -categories: - - title: 'Breaking changes ⚠️' - label: 'breaking-change' template: | ## Changes $CHANGES no-changes-template: 'Changes are coming soon 😎' sort-direction: 'ascending' +version-resolver: + default: patch diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 184de7258..dfcc162e1 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -3,8 +3,7 @@ name: Release Drafter on: push: branches: - # - main - - release-drafter + - main jobs: update_release_draft: @@ -12,6 +11,6 @@ jobs: steps: - uses: release-drafter/release-drafter@v5 with: - config-name: release-draft-template.yml + config-name: release-draft-template-ll.yml env: GITHUB_TOKEN: ${{ secrets.RELEASE_DRAFTER_TOKEN }}