diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000000..d10f8be8595 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,24 @@ +name-template: "v$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" +categories: + - title: "🚨 BREAKING CHANGES" + label: "X-Breaking-Change" + - title: "🦖 Deprecations" + label: "T-Deprecation" + - title: "✨ Features" + label: "T-Enhancement" + - title: "🐛 Bug Fixes" + label: "T-Defect" + - title: "🧰 Maintenance" + label: "Dependencies" + collapse-after: 5 +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +version-resolver: + major: + labels: + - "X-Breaking-Change" + default: minor +template: | + $CHANGES +prerelease: true +prerelease-identifier: rc diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 00000000000..fe831856c7f --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,13 @@ +name: Prepare Draft release +on: + push: + branches: [staging] +jobs: + draft: + runs-on: ubuntu-latest + steps: + - uses: release/drafter/release-drafter@09c613e259eb8d4e7c81c2cb00618eb5fc4575a7 # v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + disable-autolabeler: true