Compare commits

..

1 Commits

Author SHA1 Message Date
8d7225e2c7 ci: use reusable release git tag action
All checks were successful
CI / Test (common.json) (pull_request) Successful in 14s
CI / Test (helm.json) (pull_request) Successful in 13s
CI / Test (action.json) (pull_request) Successful in 52s
CI / Test (docker-compose.json) (pull_request) Successful in 50s
CI / Test (k8s.json) (pull_request) Successful in 49s
2025-12-12 20:27:29 +01:00
9 changed files with 30 additions and 25 deletions

View File

@@ -4,22 +4,20 @@ on:
push:
branches:
- main
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@af46017d0af5fd6af4425f8e6961f14280a1acd1 # 0.1.26
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.1
with:
token: ${{ secrets.GITEA_TOKEN }}
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@1b8fe65eda1ea0a7586a5fd552ef8f4a639b154f # 0.1.3
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@0.0.3
with:
tag: ${{ steps.tag.outputs.new-tag }}

View File

@@ -16,8 +16,8 @@ jobs:
- "common.json"
- "docker-compose.json"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- name: Validate "${{ matrix.json-file }}"
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@a1aab1475d60d35d3197dc44c3e28050ec68cc7f # 0.1.9
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@0.1.2
with:
json-file: "./${{ matrix.json-file }}"

View File

@@ -0,0 +1,22 @@
name: Prerelease
on:
workflow_dispatch:
jobs:
prerelease:
name: Prerelease
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0
- name: Increment tag
id: tag
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@0.1.1
with:
token: ${{ secrets.GITEA_TOKEN }}
prerelease: true
- uses: ./.gitea/actions/release-git-tag
with:
tag: ${{ steps.tag.outputs.new-tag }}

View File

@@ -1,6 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>t.behrendt/renovate-configs:common", "helpers:pinGitHubActionDigests"],
"extends": ["helpers:pinGitHubActionDigests"],
"packageRules": [
{
"matchManagers": ["github-actions"],

View File

@@ -2,18 +2,5 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"semanticCommits": "enabled",
"extends": ["config:best-practices", ":semanticCommitTypeAll(chore)"],
"packageRules": [
{
"description": "Don't update dependencies unless they are at least 7 days old",
"minimumReleaseAge": "7 days",
"minimumReleaseAgeBehaviour": "timestamp-required",
"internalChecksFilter": "strict"
},
{
"description": "Exempt local dependencies from the minimum release age",
"matchPackageNames": ["/^(https:\\/\\/)?gitea\\.t000-n\\.de/"],
"minimumReleaseAge": null
}
]
"extends": ["config:best-practices", ":semanticCommitTypeAll(chore)"]
}

View File

@@ -1,6 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>t.behrendt/renovate-configs:common"],
"docker-compose": {
"digest": {
"enabled": true

View File

@@ -1,6 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>t.behrendt/renovate-configs:common"],
"helm-values": {
"fileMatch": ["(^|/)values/.*\\.ya?ml$", "(^|/)values/.*\\.ya?ml\\.gotmpl$"]
},

View File

@@ -1,6 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>t.behrendt/renovate-configs:common"],
"kubernetes": {
"enabled": true,
"labels": ["deps", "k8s"]

View File

@@ -1,6 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>t.behrendt/renovate-configs:common",
"local>t.behrendt/renovate-configs:action"
]
}