From 9a5f4dc4863ca9de706d97d1abf8a62524a49105 Mon Sep 17 00:00:00 2001 From: haasad Date: Thu, 13 Jun 2024 15:12:44 +0000 Subject: [PATCH] Update from template Template version: main (ea12eff) --- .cruft.json | 6 +++++- .github/workflows/auto-release.yaml | 18 ++++++++++++++++++ .github/workflows/release.yaml | 1 + renovate.json | 21 ++++++++++++++------- 4 files changed, 38 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/auto-release.yaml diff --git a/.cruft.json b/.cruft.json index 18eb076..c2a64fb 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/projectsyn/commodore-component-template.git", - "commit": "073a838986e0d4a0af14095c5983d06faa9cd8fc", + "commit": "ea12efff947bce80cf31a3f1ed4412eab40e8b33", "checkout": "main", "context": { "cookiecutter": { @@ -15,6 +15,10 @@ "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": "2021", "github_owner": "appuio", diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml new file mode 100644 index 0000000..b6bf69c --- /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 36c0ef8..7119ee3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,6 +3,7 @@ on: push: tags: - v* + workflow_dispatch: jobs: build: diff --git a/renovate.json b/renovate.json index d07ecc6..aad4711 100644 --- a/renovate.json +++ b/renovate.json @@ -7,27 +7,34 @@ "ignorePaths": [ ".github/**" ], + "labels": [ + "dependency" + ], + "separateMinorPatch": true, "postUpgradeTasks": { "commands": [ "make gen-golden-all" ], - "fileFilters": [ "tests/golden/**" ], + "fileFilters": [ + "tests/golden/**" + ], "executionMode": "update" }, - "suppressNotifications": [ "artifactErrors" ], - "labels": [ - "dependency" + "suppressNotifications": [ + "artifactErrors" ], - "separateMinorPatch": true, "packageRules": [ { - "matchUpdateTypes": ["patch"], + "matchUpdateTypes": [ + "patch" + ], "matchCurrentVersion": "!/^v?0\\./", "automerge": true, "platformAutomerge": false, "labels": [ "dependency", - "automerge" + "automerge", + "bump:patch" ] } ]