Compare commits
1 Commits
main
..
d142b731b5
| Author | SHA1 | Date | |
|---|---|---|---|
|
d142b731b5
|
@@ -1 +0,0 @@
|
|||||||
1.3.14
|
|
||||||
@@ -5,4 +5,3 @@ end_of_line = lf
|
|||||||
charset = utf-8
|
charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
max_line_length = 80
|
|
||||||
|
|||||||
@@ -1,156 +0,0 @@
|
|||||||
name: Add autobump
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
description:
|
|
||||||
description: Description for the package rule
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
ecosystem:
|
|
||||||
description: Ecosystem
|
|
||||||
required: true
|
|
||||||
type: choice
|
|
||||||
options:
|
|
||||||
- action
|
|
||||||
- golang
|
|
||||||
- bun-npm
|
|
||||||
matchUpdateType:
|
|
||||||
description: Update type to allow
|
|
||||||
required: true
|
|
||||||
type: choice
|
|
||||||
default: major
|
|
||||||
options:
|
|
||||||
- major
|
|
||||||
- minor
|
|
||||||
- patch
|
|
||||||
matchPackageName:
|
|
||||||
description: Package name to allow autobump for
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
matchNewValue:
|
|
||||||
description: New value pattern (e.g. v7.* or v7.0.0)
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
allow-autobump:
|
|
||||||
name: Allow autobump
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
|
||||||
with:
|
|
||||||
bun-version-file: ".bun-version"
|
|
||||||
- run: bun install --frozen-lockfile
|
|
||||||
- name: Add package rule
|
|
||||||
id: rule
|
|
||||||
env:
|
|
||||||
DESCRIPTION: ${{ inputs.description }}
|
|
||||||
ECOSYSTEM: ${{ inputs.ecosystem }}
|
|
||||||
MATCH_UPDATE_TYPE: ${{ inputs.matchUpdateType }}
|
|
||||||
MATCH_PACKAGE_NAME: ${{ inputs.matchPackageName }}
|
|
||||||
MATCH_NEW_VALUE: ${{ inputs.matchNewValue }}
|
|
||||||
run: |
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
FILE="${ECOSYSTEM}.json"
|
|
||||||
if [[ ! -f "${FILE}" ]]; then
|
|
||||||
echo "::error::Config file ${FILE} does not exist"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
MATCH_MANAGERS="$(jq -nc --arg e "${ECOSYSTEM}" '{
|
|
||||||
"action": ["github-actions"],
|
|
||||||
"golang": ["gomod"],
|
|
||||||
"helm": ["helm-values"],
|
|
||||||
"k8s": ["kubernetes"],
|
|
||||||
"bun-npm": ["npm", "bun"],
|
|
||||||
"docker-compose": ["docker-compose"]
|
|
||||||
}[$e]')"
|
|
||||||
|
|
||||||
if [[ "${MATCH_MANAGERS}" == "null" || -z "${MATCH_MANAGERS}" ]]; then
|
|
||||||
echo "::error::Unknown ecosystem: ${ECOSYSTEM}"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "${DESCRIPTION}" ]]; then
|
|
||||||
DESCRIPTION="Automerge ${MATCH_UPDATE_TYPE} updates for ${MATCH_PACKAGE_NAME} to ${MATCH_NEW_VALUE}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
jq \
|
|
||||||
--arg desc "${DESCRIPTION}" \
|
|
||||||
--argjson managers "${MATCH_MANAGERS}" \
|
|
||||||
--arg updateType "${MATCH_UPDATE_TYPE}" \
|
|
||||||
--arg packageName "${MATCH_PACKAGE_NAME}" \
|
|
||||||
--arg newValue "${MATCH_NEW_VALUE}" \
|
|
||||||
'
|
|
||||||
.packageRules = ((.packageRules // []) + [{
|
|
||||||
description: $desc,
|
|
||||||
matchManagers: $managers,
|
|
||||||
matchUpdateTypes: [$updateType],
|
|
||||||
matchPackageNames: [$packageName],
|
|
||||||
matchNewValue: $newValue,
|
|
||||||
automerge: true,
|
|
||||||
platformAutomerge: true,
|
|
||||||
automergeType: "pr",
|
|
||||||
addLabels: ["automerge"]
|
|
||||||
}])
|
|
||||||
' "${FILE}" > "${FILE}.tmp"
|
|
||||||
mv "${FILE}.tmp" "${FILE}"
|
|
||||||
|
|
||||||
SAFE_PKG="$(printf '%s' "${MATCH_PACKAGE_NAME}" | tr '/:' '--' | tr -cd '[:alnum:]._-')"
|
|
||||||
SAFE_VAL="$(printf '%s' "${MATCH_NEW_VALUE}" | tr '/:*' '---' | tr -cd '[:alnum:]._-')"
|
|
||||||
BRANCH="chore/allow-autobump-${ECOSYSTEM}-${SAFE_PKG}-${SAFE_VAL}"
|
|
||||||
TITLE="feat(${ECOSYSTEM}): allow automerge of ${MATCH_PACKAGE_NAME} ${MATCH_NEW_VALUE}"
|
|
||||||
|
|
||||||
{
|
|
||||||
echo "file=${FILE}"
|
|
||||||
echo "branch=${BRANCH}"
|
|
||||||
echo "title=${TITLE}"
|
|
||||||
echo "description=${DESCRIPTION}"
|
|
||||||
} >> "${GITHUB_OUTPUT}"
|
|
||||||
- run: bun run fmt
|
|
||||||
- name: Create pull request
|
|
||||||
env:
|
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
||||||
FILE: ${{ steps.rule.outputs.file }}
|
|
||||||
BRANCH: ${{ steps.rule.outputs.branch }}
|
|
||||||
TITLE: ${{ steps.rule.outputs.title }}
|
|
||||||
DESCRIPTION: ${{ steps.rule.outputs.description }}
|
|
||||||
SERVER_URL: ${{ github.server_url }}
|
|
||||||
REPOSITORY: ${{ github.repository }}
|
|
||||||
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
|
|
||||||
run: |
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
git config user.name "gitea-actions"
|
|
||||||
git config user.email "gitea-actions@noreply.local"
|
|
||||||
|
|
||||||
git checkout -b "${BRANCH}"
|
|
||||||
git add "${FILE}"
|
|
||||||
git commit -m "${TITLE}"
|
|
||||||
git push -u origin "HEAD:${BRANCH}"
|
|
||||||
|
|
||||||
BODY="$(printf 'Allow Renovate to automerge updates matching:\n\n- **Ecosystem:** `%s`\n- **Package:** `%s`\n- **Update type:** `%s`\n- **New value:** `%s`\n\n%s\n' \
|
|
||||||
"${{ inputs.ecosystem }}" \
|
|
||||||
"${{ inputs.matchPackageName }}" \
|
|
||||||
"${{ inputs.matchUpdateType }}" \
|
|
||||||
"${{ inputs.matchNewValue }}" \
|
|
||||||
"${DESCRIPTION}")"
|
|
||||||
|
|
||||||
RESPONSE="$(curl -sfS -X POST \
|
|
||||||
-H "Authorization: token ${GITEA_TOKEN}" \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
"${SERVER_URL}/api/v1/repos/${REPOSITORY}/pulls" \
|
|
||||||
-d "$(jq -n \
|
|
||||||
--arg title "${TITLE}" \
|
|
||||||
--arg head "${BRANCH}" \
|
|
||||||
--arg base "${DEFAULT_BRANCH}" \
|
|
||||||
--arg body "${BODY}" \
|
|
||||||
'{title: $title, head: $head, base: $base, body: $body}')")"
|
|
||||||
|
|
||||||
PR_URL="$(printf '%s' "${RESPONSE}" | jq -r '.html_url')"
|
|
||||||
echo "Created pull request: ${PR_URL}"
|
|
||||||
@@ -4,14 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
|
||||||
- "action.json"
|
|
||||||
- "bun-npm.json"
|
|
||||||
- "common.json"
|
|
||||||
- "docker-compose.json"
|
|
||||||
- "golang.json"
|
|
||||||
- "helm.json"
|
|
||||||
- "k8s.json"
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -19,15 +11,15 @@ jobs:
|
|||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Increment tag
|
- name: Increment tag
|
||||||
id: tag
|
id: tag
|
||||||
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@691f6247edcdbef73b220312db09553c96d01f88 # 0.1.45
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@4c32e563bea346792d854585112bf6f06b312ce2 # 0.1.24
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITEA_TOKEN }}
|
token: ${{ secrets.GITEA_TOKEN }}
|
||||||
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
|
prerelease: ${{ github.event_name == 'workflow_dispatch' }}
|
||||||
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@7fa0cfa299dd79b6677ce8606f9612cd019eb3c6 # 0.2.15
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@8a04fa92474f770e525b1e6dd420b471da15c222 # 0.1.0
|
||||||
with:
|
with:
|
||||||
tag: ${{ steps.tag.outputs.new-tag }}
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
branches-ignore:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -17,23 +15,9 @@ jobs:
|
|||||||
- "helm.json"
|
- "helm.json"
|
||||||
- "common.json"
|
- "common.json"
|
||||||
- "docker-compose.json"
|
- "docker-compose.json"
|
||||||
- "bun-npm.json"
|
|
||||||
- "golang.json"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
||||||
- name: Validate "${{ matrix.json-file }}"
|
- name: Validate "${{ matrix.json-file }}"
|
||||||
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@a366444ba0a3ee3bcaf5254238fd7d76dba75e57 # 0.1.14
|
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@3e6f6900956d410f67923617c65f38a7efb228c6 # 0.1.2
|
||||||
with:
|
with:
|
||||||
json-file: "./${{ matrix.json-file }}"
|
json-file: "./${{ matrix.json-file }}"
|
||||||
|
|
||||||
format:
|
|
||||||
name: Format
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
||||||
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2.2.0
|
|
||||||
with:
|
|
||||||
bun-version-file: ".bun-version"
|
|
||||||
- run: bun install --frozen-lockfile
|
|
||||||
- name: Check formatting
|
|
||||||
run: bun run fmt:check
|
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
# dependencies (bun install)
|
|
||||||
node_modules
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
|
||||||
"ignorePatterns": []
|
|
||||||
}
|
|
||||||
+1
-103
@@ -1,112 +1,10 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": ["helpers:pinGitHubActionDigests"],
|
||||||
"local>t.behrendt/renovate-configs:common",
|
|
||||||
"helpers:pinGitHubActionDigests"
|
|
||||||
],
|
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"matchManagers": ["github-actions"],
|
"matchManagers": ["github-actions"],
|
||||||
"addLabels": ["deps", "action"]
|
"addLabels": ["deps", "action"]
|
||||||
},
|
|
||||||
{
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"groupName": "actions"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"matchPackageNames": [
|
|
||||||
"actions/checkout",
|
|
||||||
"actions/cache",
|
|
||||||
"actions/cache/*",
|
|
||||||
"actions/setup-go",
|
|
||||||
"azure/setup-kubectl",
|
|
||||||
"azure/setup-helm",
|
|
||||||
"azure/k8s-set-context",
|
|
||||||
"azure/k8s-create-secret",
|
|
||||||
"azure/k8s-deploy",
|
|
||||||
"azure/k8s-lint",
|
|
||||||
"helmfile/helmfile-action",
|
|
||||||
"docker/setup-buildx-action",
|
|
||||||
"docker/login-action",
|
|
||||||
"docker/build-push-action",
|
|
||||||
"oven-sh/setup-bun"
|
|
||||||
],
|
|
||||||
"automerge": true,
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"addLabels": ["automerge"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"matchPackageNames": [
|
|
||||||
"t.behrendt/actions",
|
|
||||||
"t.behrendt/actions/*",
|
|
||||||
"t.behrendt/conventional-semantic-git-tag-increment",
|
|
||||||
"t.behrendt/k_deploy_workflows",
|
|
||||||
"t.behrendt/validate-json-by-json-schema-action"
|
|
||||||
],
|
|
||||||
"matchRegistryUrls": ["https://gitea.t000-n.de/**"],
|
|
||||||
"automerge": true,
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"addLabels": ["automerge"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["major"],
|
|
||||||
"matchPackageNames": ["actions/checkout"],
|
|
||||||
"matchNewValue": "v7.0.0",
|
|
||||||
"automerge": true,
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"addLabels": ["automerge"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["major"],
|
|
||||||
"matchPackageNames": ["actions/cache"],
|
|
||||||
"matchNewValue": "v6.0.0",
|
|
||||||
"automerge": true,
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"addLabels": ["automerge"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Automerge major updates for actions/setup-node to v7.0.0",
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["major"],
|
|
||||||
"matchPackageNames": ["actions/setup-node"],
|
|
||||||
"matchNewValue": "v7.*",
|
|
||||||
"automerge": true,
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"addLabels": ["automerge"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Automerge major updates for actions/setup-go to v7",
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["major"],
|
|
||||||
"matchPackageNames": ["actions/setup-go"],
|
|
||||||
"matchNewValue": "v7.*",
|
|
||||||
"automerge": true,
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"addLabels": ["automerge"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Automerge major updates for azure/k8s-deploy to v7",
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["major"],
|
|
||||||
"matchPackageNames": ["azure/k8s-deploy"],
|
|
||||||
"matchNewValue": "v7.*",
|
|
||||||
"automerge": true,
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"addLabels": ["automerge"]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": ["local>t.behrendt/renovate-configs:common"],
|
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"matchManagers": ["npm", "bun"],
|
|
||||||
"addLabels": ["deps", "npm"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Group all minor and patch runtime dependency updates together",
|
|
||||||
"groupName": "dependencies(non-major)",
|
|
||||||
"groupSlug": "dependencies",
|
|
||||||
"matchDepTypes": ["dependencies"],
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"matchManagers": ["npm", "bun"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Group all minor and patch development dependency updates together",
|
|
||||||
"groupName": "devDependencies (non-major)",
|
|
||||||
"groupSlug": "dev-dependencies",
|
|
||||||
"matchDepTypes": ["devDependencies"],
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"matchManagers": ["npm", "bun"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Group Bun runtime version",
|
|
||||||
"groupName": "bun version",
|
|
||||||
"groupSlug": "bun-version",
|
|
||||||
"matchManagers": ["bun-version", "dockerfile"],
|
|
||||||
"matchDepNames": ["Bun", "docker.io/oven/bun"]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,55 +0,0 @@
|
|||||||
{
|
|
||||||
"lockfileVersion": 1,
|
|
||||||
"configVersion": 1,
|
|
||||||
"workspaces": {
|
|
||||||
"": {
|
|
||||||
"name": "renovate-configs",
|
|
||||||
"devDependencies": {
|
|
||||||
"oxfmt": "0.62.0",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"@oxfmt/binding-android-arm-eabi": ["@oxfmt/binding-android-arm-eabi@0.62.0", "", { "os": "android", "cpu": "arm" }, "sha512-pdsv0C4gPjJ8H1+sd8u0BDx+yLACTL+rgeMIOL1ln4ihSnhw8CWXtYWgvcSkyTfgGBIzFKab+d8rx9Xl4en/Kw=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-android-arm64": ["@oxfmt/binding-android-arm64@0.62.0", "", { "os": "android", "cpu": "arm64" }, "sha512-WC3YQ7uS/KtDrjmqwBviwFKe9qeoi+eXx8aX1z/ffG23Md75myjrJaQqTuJvdOLPoa4EYTjDWH0dHXfwulCVog=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-darwin-arm64": ["@oxfmt/binding-darwin-arm64@0.62.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-GM8Yf3LjjaR1I8PD0SfeoIlwhsh9GvSF+cQ8sf624Yxnjsyumn95aFzYfKJVefblfDIiOAnZ7QVm2sa21Er/0Q=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-darwin-x64": ["@oxfmt/binding-darwin-x64@0.62.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-d5THp7F8bCxLqNogEXDORRsQD6dosf3EyFtnXfBer6v+8tGdcWIjoDX9WaXrrF/26zOmL8qHpPTKCEvpBDmZkQ=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-freebsd-x64": ["@oxfmt/binding-freebsd-x64@0.62.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-1DnrtXGZooOZ0fHgAXZUaDQzBVh1CM2MNW4oBXyQ2aWKvCHjyljvT9fgBkOM0fEOb96X5eqtcfJ0YUVt9jj66g=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-arm-gnueabihf": ["@oxfmt/binding-linux-arm-gnueabihf@0.62.0", "", { "os": "linux", "cpu": "arm" }, "sha512-4pQDHOYRH+Huqe0StIaWyvk2CVl/aTaqSrbZpA3/pLS2xH24ME7lBgYprhQF2fRkHBzhGGGKliwxFsDdHwx59g=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-arm-musleabihf": ["@oxfmt/binding-linux-arm-musleabihf@0.62.0", "", { "os": "linux", "cpu": "arm" }, "sha512-X0jAaZJFMCVKhB6YyWVTQ/wN2DLsBcZKSMqTS76bF6riT+XZdtg2FPEdjDvdVbunO9cG+tWiVaEs4Zs38lxYog=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-arm64-gnu": ["@oxfmt/binding-linux-arm64-gnu@0.62.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-682Z8T5s8T5ATArYtsejKvbIfd8LEAXyyDkKkoZVq8HND7Vx8TYLlrDjDSeYfodMeVwHOgkj13lJYR8cj6vUSg=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-arm64-musl": ["@oxfmt/binding-linux-arm64-musl@0.62.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-lk25fAl7KWaLWVJcW0CHEXB7QlQZtx5eDkjpaGMK0hzXTjUe0Wmlu8IKuFHoviSOcEJedRTs4VE/506VqGxGew=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-ppc64-gnu": ["@oxfmt/binding-linux-ppc64-gnu@0.62.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-SFyNqHQLwySceWNLhiSldx7wPXRAzP0L0WcW9GegP3uWrpZGJiZlQO85NbHAFPEfxR9PhZ9qSnZryEh7+v+4Gw=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-riscv64-gnu": ["@oxfmt/binding-linux-riscv64-gnu@0.62.0", "", { "os": "linux", "cpu": "none" }, "sha512-KYj55C1ywJfHo6+aKDuEmUtVEdJALsC5GwayDGsI6FGz2GxFqNr/mA8nxVsNbJzm7sE5MRqTQ9ziImSzhYXysA=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-riscv64-musl": ["@oxfmt/binding-linux-riscv64-musl@0.62.0", "", { "os": "linux", "cpu": "none" }, "sha512-BhZDNo5GOU5nC378RhD0/XpvaEBHsH3HLgJp8YZX3A0InC7oivzA63HsRmiXFLtLSHAstEVrDf6fbC7Rs8Jh/A=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-s390x-gnu": ["@oxfmt/binding-linux-s390x-gnu@0.62.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-UyAFmyHkgSgUJ/wOM4p3U8AC2yAFvRH5PNBs7TnK0fObTT/XSWcdr/lAzPSWaekHaZFaMeFZyk9n93Joq3J93A=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-x64-gnu": ["@oxfmt/binding-linux-x64-gnu@0.62.0", "", { "os": "linux", "cpu": "x64" }, "sha512-1iYMP0leytWazFubD/WnINJuIrzRPuoL1aWEJdlGezEzDbTxcd29R4r8IUzP2oWeKst5V02uMJgR2NILlPlG6w=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-linux-x64-musl": ["@oxfmt/binding-linux-x64-musl@0.62.0", "", { "os": "linux", "cpu": "x64" }, "sha512-4rA/URtJSTVNVAQz6Q8wf7SaRvOXVy+TizriT9hs/Y1XhLR/R+92uWKRQG8yFWRAIEBbFHJ6WevQcl/G9SXEfw=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-openharmony-arm64": ["@oxfmt/binding-openharmony-arm64@0.62.0", "", { "os": "none", "cpu": "arm64" }, "sha512-mSZuFHU2ar1KLUjXpI2QBQcJ1VsOB3mOCgQXuXCpKs19dgh4u+OaovNfrWDfiJb+ihJ2+f7YFcaO9bS2dlTCXA=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-win32-arm64-msvc": ["@oxfmt/binding-win32-arm64-msvc@0.62.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-OfwuhkcjDlqC4EgDojtiV9mzpLqeB9KqTOWPOjLEYBVdDCVSxqW3qzp/xcIxsbtI0UgGCnKvAqYKyY25kf5JZw=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-win32-ia32-msvc": ["@oxfmt/binding-win32-ia32-msvc@0.62.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-P9uDDNFRzghO3X8QAzhkjKhK7JvtABsVn8UYtFX7uor12IAnwNt8nNIctvfWj1JkQU/kE+fmLRPiw7XlrIHsZw=="],
|
|
||||||
|
|
||||||
"@oxfmt/binding-win32-x64-msvc": ["@oxfmt/binding-win32-x64-msvc@0.62.0", "", { "os": "win32", "cpu": "x64" }, "sha512-dlI5SY7XYQCiCBafntWagCR6HcAJB/NpsLtdlPx8x08+Osz8Ok1HHz1GZuusegCe/VoJ6pAnF5a4pd5OZAq7qQ=="],
|
|
||||||
|
|
||||||
"oxfmt": ["oxfmt@0.62.0", "", { "dependencies": { "tinypool": "2.1.0" }, "optionalDependencies": { "@oxfmt/binding-android-arm-eabi": "0.62.0", "@oxfmt/binding-android-arm64": "0.62.0", "@oxfmt/binding-darwin-arm64": "0.62.0", "@oxfmt/binding-darwin-x64": "0.62.0", "@oxfmt/binding-freebsd-x64": "0.62.0", "@oxfmt/binding-linux-arm-gnueabihf": "0.62.0", "@oxfmt/binding-linux-arm-musleabihf": "0.62.0", "@oxfmt/binding-linux-arm64-gnu": "0.62.0", "@oxfmt/binding-linux-arm64-musl": "0.62.0", "@oxfmt/binding-linux-ppc64-gnu": "0.62.0", "@oxfmt/binding-linux-riscv64-gnu": "0.62.0", "@oxfmt/binding-linux-riscv64-musl": "0.62.0", "@oxfmt/binding-linux-s390x-gnu": "0.62.0", "@oxfmt/binding-linux-x64-gnu": "0.62.0", "@oxfmt/binding-linux-x64-musl": "0.62.0", "@oxfmt/binding-openharmony-arm64": "0.62.0", "@oxfmt/binding-win32-arm64-msvc": "0.62.0", "@oxfmt/binding-win32-ia32-msvc": "0.62.0", "@oxfmt/binding-win32-x64-msvc": "0.62.0" }, "peerDependencies": { "svelte": "^5.0.0", "vite-plus": "*" }, "optionalPeers": ["svelte", "vite-plus"], "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-vxgGHTmnDU9j4CX7dDBLzxgmHxfda/yPcgJkGCMUSCwRmz+euo/V08xXLNgXTeqAB9Fhf3Pe2nO1RNKLCVgphQ=="],
|
|
||||||
|
|
||||||
"tinypool": ["tinypool@2.1.0", "", {}, "sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw=="],
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+4
-26
@@ -2,33 +2,11 @@
|
|||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"dependencyDashboard": true,
|
"dependencyDashboard": true,
|
||||||
"semanticCommits": "enabled",
|
"semanticCommits": "enabled",
|
||||||
"extends": [
|
"extends": ["config:best-practices", ":semanticCommitTypeAll(chore)"],
|
||||||
"config:recommended",
|
|
||||||
"docker:pinDigests",
|
|
||||||
"helpers:pinGitHubActionDigests",
|
|
||||||
":configMigration",
|
|
||||||
":pinDevDependencies",
|
|
||||||
"abandonments:recommended",
|
|
||||||
":maintainLockFilesWeekly",
|
|
||||||
":semanticCommitTypeAll(chore)"
|
|
||||||
],
|
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"description": "Don't update dependencies unless they are at least 7 days old (except for internal deps).",
|
"matchPackagePatterns": ["^(https:\\/\\/)?gitea\\.t000-n\\.de\/"],
|
||||||
"matchPackageNames": ["!t.behrendt/**", "!gitea.t000-n.de/t.behrendt/**"],
|
"minimumReleaseAge": null
|
||||||
"minimumReleaseAge": "7 days",
|
|
||||||
"minimumReleaseAgeBehaviour": "timestamp-required",
|
|
||||||
"internalChecksFilter": "strict"
|
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"osvVulnerabilityAlerts": true,
|
|
||||||
"dependencyDashboardOSVVulnerabilitySummary": "all",
|
|
||||||
"vulnerabilityAlerts": {
|
|
||||||
"enabled": true,
|
|
||||||
"automerge": true,
|
|
||||||
"platformAutomerge": true,
|
|
||||||
"automergeType": "pr",
|
|
||||||
"addLabels": ["automerge", "security"],
|
|
||||||
"vulnerabilityFixStrategy": "lowest"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["local>t.behrendt/renovate-configs:common"],
|
|
||||||
"docker-compose": {
|
"docker-compose": {
|
||||||
"digest": {
|
"digest": {
|
||||||
"enabled": true
|
"enabled": true
|
||||||
|
|||||||
-16
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
||||||
"extends": ["local>t.behrendt/renovate-configs:common"],
|
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"matchManagers": ["gomod"],
|
|
||||||
"addLabels": ["deps", "go"],
|
|
||||||
"postUpgradeOptions": ["goModTidy"]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"matchPackageNames": ["golang", "gomod", "go"],
|
|
||||||
"groupName": "go version",
|
|
||||||
"matchUpdateTypes": ["major", "minor", "patch"]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["local>t.behrendt/renovate-configs:common"],
|
|
||||||
"helm-values": {
|
"helm-values": {
|
||||||
"fileMatch": ["(^|/)values/.*\\.ya?ml$", "(^|/)values/.*\\.ya?ml\\.gotmpl$"]
|
"fileMatch": ["(^|/)values/.*\\.ya?ml$", "(^|/)values/.*\\.ya?ml\\.gotmpl$"]
|
||||||
},
|
},
|
||||||
@@ -8,8 +7,7 @@
|
|||||||
{
|
{
|
||||||
"matchManagers": ["helm-values"],
|
"matchManagers": ["helm-values"],
|
||||||
"versioning": "docker",
|
"versioning": "docker",
|
||||||
"separateMinorPatch": true,
|
"separateMinorPatch": true
|
||||||
"addLabels": ["deps", "helm"]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"helmfile": {
|
"helmfile": {
|
||||||
|
|||||||
@@ -1,20 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["local>t.behrendt/renovate-configs:common"],
|
|
||||||
"kubernetes": {
|
"kubernetes": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"labels": ["deps", "k8s"]
|
"labels": ["deps", "k8s"]
|
||||||
},
|
}
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"description": "Replace git-commit image tags with semver tags for backupsidecar",
|
|
||||||
"matchDatasources": ["docker"],
|
|
||||||
"matchManagers": ["kubernetes"],
|
|
||||||
"matchPackageNames": ["gitea.t000-n.de/t.behrendt/backupsidecar"],
|
|
||||||
"matchCurrentValue": "/^[a-f0-9]{40}$/",
|
|
||||||
"replacementVersion": "0.2.17",
|
|
||||||
"versioning": "semver",
|
|
||||||
"pinDigests": true
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "renovate-configs",
|
|
||||||
"private": true,
|
|
||||||
"scripts": {
|
|
||||||
"fmt": "oxfmt -c .oxfmtrc.json",
|
|
||||||
"fmt:check": "oxfmt -c .oxfmtrc.json --check"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"oxfmt": "0.62.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": [
|
||||||
"local>t.behrendt/renovate-configs:action",
|
"local>t.behrendt/renovate-configs:common",
|
||||||
"local>t.behrendt/renovate-configs:bun-npm"
|
"local>t.behrendt/renovate-configs:action"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user