From 60f3024b5b7fc4a8c155352080cd4bce7eed3b54 Mon Sep 17 00:00:00 2001 From: Lukas Burgholzer Date: Mon, 6 May 2024 12:05:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20add=20a=20release=20drafter=20co?= =?UTF-8?q?nfiguration=20(#12)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/release-drafter.yml | 54 +++++++++++++++++++++++++++ .github/workflows/release-drafter.yml | 23 ++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..1838013 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,54 @@ +name-template: "MQT $RESOLVED_VERSION Release" +tag-template: "v$RESOLVED_VERSION" +categories: + - title: "๐Ÿš€ Features and Enhancements" + labels: + - "feature" + - "enhancement" + - "usability" + - title: "๐Ÿ› Bug Fixes" + labels: + - "bug" + - "fix" + - title: "๐Ÿ“„ Documentation" + labels: + - "documentation" + - title: "๐Ÿค– CI" + labels: + - "continuous integration" + - title: "๐Ÿ“ฆ Packaging" + labels: + - "packaging" + - title: "๐Ÿงน Code Quality" + labels: + - "code quality" + - title: "โฌ†๏ธ Dependencies" + collapse-after: 5 + labels: + - "dependencies" + - "submodules" + - "github_actions" +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +change-title-escapes: '\<*_&' +version-resolver: + major: + labels: + - "major" + minor: + labels: + - "minor" + patch: + labels: + - "patch" + default: patch +autolabeler: + - label: "dependencies" + title: + - "/update pre-commit hooks/i" + +template: | + ## ๐Ÿ‘€ What Changed + + $CHANGES + + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..02b6951 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -0,0 +1,23 @@ +name: Release Drafter + +on: + push: + branches: + - main + pull_request_target: + types: [opened, reopened, synchronize] + +permissions: + contents: read + +jobs: + update_release_draft: + name: Run + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: release-drafter/release-drafter@v6 + env: + GITHUB_TOKEN: ${{ github.token }}