diff --git a/.github/release.yml b/.github/release.yml deleted file mode 100644 index 38aaae42..00000000 --- a/.github/release.yml +++ /dev/null @@ -1,27 +0,0 @@ -changelog: - exclude: - labels: - - "duplicate" - - "help wanted" - - "invalid" - - "question" - - "wontfix" - categories: - - title: Breaking changes - labels: - - "⚠️ breaking change" - - title: Added - labels: - - "enhancement" - - title: Fixed - labels: - - "bug" - - title: Documentation - labels: - - "documentation" - - title: Dependencies - labels: - - "dependencies" - - title: Other Changes - labels: - - "*" \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..f0aad619 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Release + +permissions: + contents: write + +on: + push: + tags: + - 'v*' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - uses: actions/setup-node@v3 + with: + node-version: 16.x + + - run: npx changelogithub + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file