Skip to content

Commit

Permalink
Merge pull request #49 from appuio/template-sync
Browse files Browse the repository at this point in the history
Update component to use template-managed automerge and autorelease
  • Loading branch information
simu authored Jun 14, 2024
2 parents efe5ee5 + c50bb09 commit a36d1d1
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 138 deletions.
8 changes: 7 additions & 1 deletion .cruft.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"template": "https://github.com/projectsyn/commodore-component-template.git",
"commit": "7803d07f1d79fc8b902fcafbb336b6b0a4b57b90",
"commit": "ea12efff947bce80cf31a3f1ed4412eab40e8b33",
"checkout": "main",
"context": {
"cookiecutter": {
Expand All @@ -13,6 +13,12 @@
"add_golden": "y",
"add_matrix": "y",
"add_go_unit": "n",
"automerge_patch": "y",
"automerge_patch_v0": "y",
"automerge_patch_regexp_blocklist": "",
"automerge_patch_v0_regexp_allowlist": "",
"automerge_minor_regexp_allowlist": ".*",
"auto_release": "y",
"copyright_holder": "VSHN AG <[email protected]>",
"copyright_year": "2021",
"github_owner": "appuio",
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/auto-release.yaml
Original file line number Diff line number Diff line change
@@ -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
123 changes: 0 additions & 123 deletions .github/workflows/autotag.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
tags:
- v*
workflow_dispatch:

jobs:
build:
Expand Down
55 changes: 41 additions & 14 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,62 @@
"ignorePaths": [
".github/**"
],
"labels": [
"dependency"
],
"separateMinorPatch": true,
"separateMultipleMajor": true,
"postUpgradeTasks": {
"commands": [
"make gen-golden-all"
],
"fileFilters": [ "tests/golden/**" ],
"fileFilters": [
"tests/golden/**"
],
"executionMode": "update"
},
"suppressNotifications": [ "artifactErrors" ],
"labels": [
"dependency"
"suppressNotifications": [
"artifactErrors"
],
"separateMinorPatch": true,
"separateMultipleMajor": true,
"packageRules": [
{
"matchUpdateTypes": ["major"],
"labels": ["dependency", "bump:major"]
"matchUpdateTypes": [
"patch"
],
"automerge": true,
"platformAutomerge": false,
"labels": [
"dependency",
"automerge",
"bump:patch"
]
},
{
"matchUpdateTypes": ["minor"],
"labels": ["dependency", "bump:minor"],
"matchUpdateTypes": [
"minor"
],
"automerge": true,
"platformAutomerge": true
"platformAutomerge": false,
"labels": [
"dependency",
"automerge",
"bump:minor"
],
"matchPackagePatterns": [
".*"
]
},
{
"matchUpdateTypes": ["patch"],
"labels": ["dependency", "bump:patch"],
"matchUpdateTypes": [
"major"
],
"automerge": true,
"platformAutomerge": true
"platformAutomerge": false,
"labels": [
"dependency",
"automerge",
"bump:major"
]
}
]
}

0 comments on commit a36d1d1

Please sign in to comment.