diff --git a/.github/labeler.yaml b/.github/labeler.yaml index 55e65b391..74119e13d 100644 --- a/.github/labeler.yaml +++ b/.github/labeler.yaml @@ -1,11 +1,24 @@ --- # Areas +area/bootstrap: + - changed-files: + - any-glob-to-any-file: "bootstrap/**/*" +area/docs: + - changed-files: + - any-glob-to-any-file: + - "README.md" area/github: - changed-files: - any-glob-to-any-file: ".github/**/*" area/kubernetes: - changed-files: - any-glob-to-any-file: "kubernetes/**/*" +area/scripts: + - changed-files: + - any-glob-to-any-file: "scripts/**/*" +area/talos: + - changed-files: + - any-glob-to-any-file: "talos/**/*" area/taskfile: - changed-files: - any-glob-to-any-file: diff --git a/.github/labels.yaml b/.github/labels.yaml index 0e0b3cc5e..e5e34f3b2 100644 --- a/.github/labels.yaml +++ b/.github/labels.yaml @@ -1,9 +1,17 @@ --- # Areas +- name: area/bootstrap + color: "0e8a16" +- name: area/docs + color: "0e8a16" - name: area/github color: "0e8a16" - name: area/kubernetes color: "0e8a16" +- name: area/scripts + color: "0e8a16" +- name: area/talos + color: "0e8a16" - name: area/taskfile color: "0e8a16" # Renovate Types diff --git a/.github/renovate/autoMerge.json5 b/.github/renovate/autoMerge.json5 index 73d3cdc17..a8b077ef8 100644 --- a/.github/renovate/autoMerge.json5 +++ b/.github/renovate/autoMerge.json5 @@ -2,7 +2,7 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "packageRules": [ { - "description": ["Auto-merge container digests updates for trusted containers"], + "description": ["Auto-merge container digests updates"], "matchDatasources": ["docker"], "automerge": true, "automergeType": "branch", @@ -10,12 +10,21 @@ "matchPackagePatterns": ["ghcr.io/bjw-s", "ghcr.io/onedr0p"] }, { - "description": ["Auto-merge GitHub Actions for minor and patch"], + "description": ["Auto-merge GitHub Actions"], "matchManagers": ["github-actions"], "matchDatasources": ["github-tags"], "automerge": true, "automergeType": "branch", - "matchUpdateTypes": ["minor", "patch"] + "matchUpdateTypes": ["minor", "patch", "digest"] + }, + { + "description": "Auto-merge Helm Releases", + "matchDatasources": ["helm", "docker"], + "automerge": true, + "automergeType": "pr", + "matchUpdateTypes": ["minor", "patch"], + "matchDepNames": ["kube-prometheus-stack"], + "ignoreTests": false } ] } diff --git a/.github/renovate/semanticCommits.json5 b/.github/renovate/semanticCommits.json5 index 0d88d8db6..546e79d2d 100644 --- a/.github/renovate/semanticCommits.json5 +++ b/.github/renovate/semanticCommits.json5 @@ -2,104 +2,41 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "packageRules": [ { - "matchDatasources": ["docker"], "matchUpdateTypes": ["major"], - "commitMessagePrefix": "feat(container)!: ", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": " ( {{currentVersion}} → {{newVersion}} )" + "semanticCommitType": "feat", + "commitMessagePrefix": "{{semanticCommitType}}({{semanticCommitScope}})!:", + "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" }, { - "matchDatasources": ["docker"], "matchUpdateTypes": ["minor"], "semanticCommitType": "feat", - "semanticCommitScope": "container", - "commitMessageTopic": "{{depName}}", "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" }, { - "matchDatasources": ["docker"], "matchUpdateTypes": ["patch"], "semanticCommitType": "fix", - "semanticCommitScope": "container", - "commitMessageTopic": "{{depName}}", "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" }, { - "matchDatasources": ["docker"], "matchUpdateTypes": ["digest"], "semanticCommitType": "chore", - "semanticCommitScope": "container", - "commitMessageTopic": "{{depName}}", "commitMessageExtra": "( {{currentDigestShort}} → {{newDigestShort}} )" }, { - "matchDatasources": ["helm"], - "matchUpdateTypes": ["major"], - "commitMessagePrefix": "feat(helm)!: ", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" - }, - { - "matchDatasources": ["helm"], - "matchUpdateTypes": ["minor"], - "semanticCommitType": "feat", - "semanticCommitScope": "helm", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + "matchDatasources": ["docker"], + "semanticCommitScope": "container", + "commitMessageTopic": "image {{depName}}" }, { "matchDatasources": ["helm"], - "matchUpdateTypes": ["patch"], - "semanticCommitType": "fix", "semanticCommitScope": "helm", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" - }, - { - "matchDatasources": ["github-releases", "github-tags"], - "matchUpdateTypes": ["major"], - "commitMessagePrefix": "feat(github-release)!: ", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" - }, - { - "matchDatasources": ["github-releases", "github-tags"], - "matchUpdateTypes": ["minor"], - "semanticCommitType": "feat", - "semanticCommitScope": "github-release", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" - }, - { - "matchDatasources": ["github-releases", "github-tags"], - "matchUpdateTypes": ["patch"], - "semanticCommitType": "fix", - "semanticCommitScope": "github-release", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" - }, - { - "matchManagers": ["github-actions"], - "matchUpdateTypes": ["major"], - "commitMessagePrefix": "feat(github-action)!: ", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + "commitMessageTopic": "chart {{depName}}" }, { "matchManagers": ["github-actions"], - "matchUpdateTypes": ["minor"], - "semanticCommitType": "feat", + "semanticCommitType": "ci", "semanticCommitScope": "github-action", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" - }, - { - "matchManagers": ["github-actions"], - "matchUpdateTypes": ["patch"], - "semanticCommitType": "fix", - "semanticCommitScope": "github-action", - "commitMessageTopic": "{{depName}}", - "commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" + "commitMessageTopic": "action {{depName}}" } ] }