diff --git a/.github/release-drafter-config.yml b/.github/release-drafter-config.yml new file mode 100644 index 0000000..3de46d0 --- /dev/null +++ b/.github/release-drafter-config.yml @@ -0,0 +1,50 @@ +name-template: '$RESOLVED_VERSION' +tag-template: '$RESOLVED_VERSION' + +categories: + - title: '💥 Breaking Changes' + labels: + - breaking-change + - BREAKING + - title: '💡 New Features' + labels: + - feature + - enhancement + - title: '🐞 Bug Fixes' + labels: + - bug + - fix + - bugfix + - title: '⚙️ Technical Debt' + labels: + - refactor + - title: '📝 Documentation' + labels: + - documentation + - doc + +change-template: "- (#$NUMBER) $TITLE by @$AUTHOR" + +no-changes-template: 'No significant changes' + +template: | + ## 🚀 Release + + ### What's Changed + $CHANGES + + --- + + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$RESOLVED_VERSION + +version-resolver: + major: + labels: + - major + minor: + labels: + - minor + patch: + labels: + - patch + default: patch diff --git a/.github/workflows/helm-charts-release.yaml b/.github/workflows/helm-charts-release.yaml new file mode 100644 index 0000000..6e6d15e --- /dev/null +++ b/.github/workflows/helm-charts-release.yaml @@ -0,0 +1,37 @@ +name: Helm Charts Release +on: + workflow_dispatch: + inputs: + release: + description: "Release version (e.g. v0.35.2)" + required: true + type: string + +permissions: + contents: write + +run-name: ${{ github.repository }} Release ${{ inputs.release }} + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + github-release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Create GitHub release + uses: netcracker/release-drafter@86f4276a3894b5af70480e826c32fe3648ac6a70 # v1.0.0 + with: + config-name: release-drafter-config.yml + publish: true + name: ${{ inputs.release }} + tag: ${{ inputs.release }} + version: ${{ inputs.release }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}