From f0557a6d45815aca063d67c8a2c914b7d301778e Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Sun, 17 Oct 2021 12:13:03 +0300 Subject: [PATCH 1/2] release drafter --- .github/release-drafter-config.yml | 40 +++++++++++++++++++++++++++ .github/workflows/release-drafter.yml | 19 +++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 .github/release-drafter-config.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter-config.yml b/.github/release-drafter-config.yml new file mode 100644 index 00000000000..5e429972b64 --- /dev/null +++ b/.github/release-drafter-config.yml @@ -0,0 +1,40 @@ +name-template: 'Version $NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +autolabeler: + - label: 'chore' + files: + - '*.md' + - '.github/*' + - label: 'bug' + branch: + - '/bug-.+' + - label: 'chore' + branch: + - '/chore-.+' + - label: 'feature' + branch: + - '/feature-.+' +categories: + - title: 'Breaking Changes' + labels: + - 'breakingchange' + - title: '🚀 New Features' + labels: + - 'feature' + - 'enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: '🧰 Maintenance' + label: 'chore' +change-template: '- $TITLE (#$NUMBER)' +exclude-labels: + - 'skip-changelog' +template: | + ## Changes + + $CHANGES + +We'd like to thank all of the contributors who have worked on this release! \ No newline at end of file diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000000..ec2d88bf6e7 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,19 @@ +name: Release Drafter + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: release-drafter/release-drafter@v5 + with: + # (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml + config-name: release-drafter-config.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From fb668f0edb9bf3bc35f84f48553f780a6d61846b Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Sun, 17 Oct 2021 13:15:22 +0300 Subject: [PATCH 2/2] fixing contributors --- .github/release-drafter-config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/release-drafter-config.yml b/.github/release-drafter-config.yml index 5e429972b64..f17a2992fad 100644 --- a/.github/release-drafter-config.yml +++ b/.github/release-drafter-config.yml @@ -37,4 +37,8 @@ template: | $CHANGES -We'd like to thank all of the contributors who have worked on this release! \ No newline at end of file + ## Contributors + We'd like to thank all the contributors who worked on this release! + + $CONTRIBUTORS +