diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000..23fbf608 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,22 @@ +changelog: + exclude: + authors: + - dependabot + - pre-commit-ci + categories: + - title: Bugs fixes 🐛 + labels: + - bug + - title: Features and enhancements 🎉 + labels: + - compliance + - enhancement + - title: Tooling 🔧 + labels: + - ci-cd + - title: Documentation 📖 + labels: + - documentation + - title: Other Changes + labels: + - "*" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1b700a9..7c32ff15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,12 +27,14 @@ jobs: python -m pip install --upgrade twine python -m pip install -r requirements.txt - - name: Transform git tag into GitHub Release with assets - uses: marvinpinto/action-automatic-releases@v1.2.1 + - name: Create/update release on GitHub + uses: ncipollo/release-action@v1.11.0 with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: false - files: dist/* + allowUpdates: true + artifacts: "dist/*" + generateReleaseNotes: true + omitNameDuringUpdate: true + token: ${{ secrets.GITHUB_TOKEN }} - name: Build and publish env: