From: Jukka Kurkela Date: Tue, 13 Oct 2020 19:34:47 +0000 (+0300) Subject: Add release-drafter (#7878) X-Git-Tag: v3.0.0-beta.4~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d5249f7bbfc822e9862b1a336294c91908e9c90;p=thirdparty%2FChart.js.git Add release-drafter (#7878) * Add release-drafter * Review feedback --- diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 000000000..169cb9f27 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,53 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +categories: + - title: '# Breaking Changes' + labels: + - 'breaking change' + - title: '# Enhancements' + labels: + - 'type: enhancement' + - title: '# Performance' + labels: + - 'type: performance' + - title: '# Bugs Fixed' + labels: + - 'type: bug' + - title: '# Types' + labels: + - 'type: types' + - title: '# Documentation' + labels: + - 'type: documentation' + - title: '# Development' + labels: + - 'type: chore' +change-template: '- #$NUMBER $TITLE' +change-title-escapes: '\<*_&`#@' +version-resolver: + major: + labels: + - 'breaking change' + minor: + labels: + - 'type: enhancement' + patch: + labels: + - 'type: bug' + - 'type: chore' + - 'type: types' + default: patch +template: | + # Essential Links + + * [npm](https://www.npmjs.com/package/chart.js) + * [Migration guide](https://www.chartjs.org/docs/next/getting-started/v3-migration) + * [Docs](https://www.chartjs.org/docs/next/) + * [API](https://www.chartjs.org/docs/next/typedoc/) + * [Samples](https://www.chartjs.org/samples/next/) + + ## Changes + + $CHANGES + + Thanks to $CONTRIBUTORS diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 000000000..23bd2b93e --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,14 @@ +name: Release Drafter + +on: + push: + branches: + - next + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}