From 61322e8fa8477a30deebb1d97c86ccd80d69204c Mon Sep 17 00:00:00 2001 From: simu Date: Thu, 8 Aug 2024 14:39:22 +0000 Subject: [PATCH] Update from template Template version: main (8840f87) --- .cruft.json | 8 +++++++- .github/workflows/auto-release.yaml | 18 ++++++++++++++++++ .github/workflows/release.yaml | 3 ++- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/auto-release.yaml diff --git a/.cruft.json b/.cruft.json index de61aca87..d1f4234d0 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/projectsyn/commodore-component-template.git", - "commit": "8b2395f87fd723628a4318f2dfba36519777ec72", + "commit": "8840f87d25d97ce0d4bfed75d40173caaf4100fc", "checkout": "main", "context": { "cookiecutter": { @@ -13,6 +13,12 @@ "add_golden": "y", "add_matrix": "y", "add_go_unit": "n", + "automerge_patch": "y", + "automerge_patch_v0": "n", + "automerge_patch_regexp_blocklist": "", + "automerge_patch_v0_regexp_allowlist": "", + "automerge_minor_regexp_allowlist": "", + "auto_release": "y", "copyright_holder": "VSHN AG ", "copyright_year": "2023", "github_owner": "vshn", diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml new file mode 100644 index 000000000..b6bf69c0b --- /dev/null +++ b/.github/workflows/auto-release.yaml @@ -0,0 +1,18 @@ +name: Autorelease +on: + pull_request: + types: + - synchronize + - labeled + - unlabeled + - closed + +jobs: + create-release-tag: + runs-on: ubuntu-latest + steps: + - name: Create new tag + uses: projectsyn/pr-label-tag-action@v1 + with: + trigger: | + Release diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 36c0ef8bd..8cf7be42b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,6 +3,7 @@ on: push: tags: - v* + workflow_dispatch: jobs: build: @@ -13,7 +14,7 @@ jobs: fetch-depth: "0" - name: Build changelog from PRs with labels id: build_changelog - uses: mikepenz/release-changelog-builder-action@v4 + uses: mikepenz/release-changelog-builder-action@v5 with: configuration: ".github/changelog-configuration.json" # PreReleases still get a changelog, but the next full release gets a diff since the last full release,