diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..6f0cdcc --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,15 @@ +name-template: 'v$NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +categories: + - title: '🚀 New Features' + labels: + - feature + commit: + - feat + - title: '🐛 Bug Fixes' + labels: + - bug + commit: + - fix +change-template: '- $TITLE (#$NUMBER) @$AUTHOR' +no-changes-template: 'No significant changes.' \ No newline at end of file diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index fdeac98..eed6b6e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - test tags: - '*' paths-ignore: diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..09473e0 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,26 @@ +name: Release Drafter + +on: + push: + branches: + - main + pull_request: + types: [closed] + branches: + - main + +jobs: + update_release_draft: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Release Drafter + uses: release-drafter/release-drafter@v5 + with: + config-name: release-drafter.yml + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file