Skip to content

Commit

Permalink
Merge pull request #285 from projectsyn/template-sync
Browse files Browse the repository at this point in the history
Update from component template
  • Loading branch information
haasad authored Jun 13, 2024
2 parents d8ed1ce + bd250a8 commit 1097f27
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 8 deletions.
6 changes: 5 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": "073a838986e0d4a0af14095c5983d06faa9cd8fc",
"commit": "ea12efff947bce80cf31a3f1ed4412eab40e8b33",
"checkout": "main",
"context": {
"cookiecutter": {
Expand All @@ -15,6 +15,10 @@
"add_go_unit": "y",
"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 <[email protected]>",
"copyright_year": "2020",
"github_owner": "projectsyn",
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
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
21 changes: 14 additions & 7 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
]
Expand Down

0 comments on commit 1097f27

Please sign in to comment.