Compare commits
35 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1734e79a40 | |||
| 832b956560 | |||
| f9b9763a3c | |||
| cd0ba86fed | |||
| 61ebe3035b | |||
| fe779d7bf8 | |||
| 77c53788a5 | |||
| 6ee7e86b0b | |||
| 59f5f6e54f | |||
| 6b08a48463 | |||
| a1ef9ead12 | |||
| c614d01ab6 | |||
| 01263a09d5 | |||
| bc6f6c7057 | |||
| 97ffdb95d3 | |||
| de46a0e5d9 | |||
| 6000bf3600 | |||
| a69e76a3bb | |||
| c3ee51c12a | |||
| d5b09d13d0 | |||
| d1f0230ae6 | |||
| 8250869fd3 | |||
| 90885cbb52 | |||
| 0addf3f7a0 | |||
| c51a96d46e | |||
| 14c5432b26 | |||
| ffdc3468a4 | |||
| 5566f6e4c8 | |||
| 686ef21e0e | |||
| 0afa3391bd | |||
| 229212cb6e | |||
| 49996d1108 | |||
| 78ad0f0588 | |||
| f8788986cb | |||
| 444178a987 |
@@ -0,0 +1 @@
|
|||||||
|
1.3.14
|
||||||
@@ -5,3 +5,4 @@ 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
|
||||||
|
|||||||
@@ -0,0 +1,156 @@
|
|||||||
|
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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||||
|
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}"
|
||||||
@@ -11,15 +11,15 @@ jobs:
|
|||||||
name: Release
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||||
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@b8806ee0141a44be30e8734dff15001361be100c # 0.1.35
|
uses: https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment@3ab82e6aa1db388a34562f5ce6eedb598651d916 # 0.1.42
|
||||||
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@38c1bbd8bad3e7965744d03de85faa4a5b808d1b # 0.2.4
|
- uses: https://gitea.t000-n.de/t.behrendt/actions/release-git-tag@7f9ed2bccd9161d124284619464c5dc5b15b79c0 # 0.2.11
|
||||||
with:
|
with:
|
||||||
tag: ${{ steps.tag.outputs.new-tag }}
|
tag: ${{ steps.tag.outputs.new-tag }}
|
||||||
|
|||||||
@@ -16,9 +16,22 @@ jobs:
|
|||||||
- "common.json"
|
- "common.json"
|
||||||
- "docker-compose.json"
|
- "docker-compose.json"
|
||||||
- "bun-npm.json"
|
- "bun-npm.json"
|
||||||
|
- "golang.json"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||||
- name: Validate "${{ matrix.json-file }}"
|
- name: Validate "${{ matrix.json-file }}"
|
||||||
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@6bf2c1355ac4430a6fb77befd36fb95243fcaa3a # 0.1.12
|
uses: https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action@30070f7f9c7376fd87998980078688f61cecda59 # 0.1.13
|
||||||
with:
|
with:
|
||||||
json-file: "./${{ matrix.json-file }}"
|
json-file: "./${{ matrix.json-file }}"
|
||||||
|
|
||||||
|
format:
|
||||||
|
name: Format
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||||
|
- 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
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# dependencies (bun install)
|
||||||
|
node_modules
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||||
|
"ignorePatterns": []
|
||||||
|
}
|
||||||
+67
-10
@@ -1,44 +1,101 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["local>t.behrendt/renovate-configs:common", "helpers:pinGitHubActionDigests"],
|
"extends": [
|
||||||
|
"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"],
|
"matchManagers": ["github-actions"],
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
"matchUpdateTypes": ["minor", "patch"],
|
||||||
"matchPackageNames": [
|
"matchPackageNames": [
|
||||||
"https://gitea.t000-n.de/t.behrendt/actions/*",
|
|
||||||
"https://gitea.t000-n.de/t.behrendt/conventional-semantic-git-tag-increment",
|
|
||||||
"https://gitea.t000-n.de/t.behrendt/k_deploy_workflows",
|
|
||||||
"https://gitea.t000-n.de/t.behrendt/validate-json-by-json-schema-action",
|
|
||||||
|
|
||||||
"actions/checkout",
|
"actions/checkout",
|
||||||
"actions/cache",
|
"actions/cache",
|
||||||
"actions/cache/*",
|
"actions/cache/*",
|
||||||
"actions/setup-go",
|
"actions/setup-go",
|
||||||
|
|
||||||
"azure/setup-kubectl",
|
"azure/setup-kubectl",
|
||||||
"azure/setup-helm",
|
"azure/setup-helm",
|
||||||
"azure/k8s-set-context",
|
"azure/k8s-set-context",
|
||||||
"azure/k8s-create-secret",
|
"azure/k8s-create-secret",
|
||||||
"azure/k8s-deploy",
|
"azure/k8s-deploy",
|
||||||
"azure/k8s-lint",
|
"azure/k8s-lint",
|
||||||
|
|
||||||
"helmfile/helmfile-action",
|
"helmfile/helmfile-action",
|
||||||
|
|
||||||
"docker/setup-buildx-action",
|
"docker/setup-buildx-action",
|
||||||
"docker/login-action",
|
"docker/login-action",
|
||||||
"docker/build-push-action",
|
"docker/build-push-action",
|
||||||
|
|
||||||
"oven-sh/setup-bun"
|
"oven-sh/setup-bun"
|
||||||
],
|
],
|
||||||
"automerge": true,
|
"automerge": true,
|
||||||
"platformAutomerge": true,
|
"platformAutomerge": true,
|
||||||
"automergeType": "pr",
|
"automergeType": "pr",
|
||||||
"addLabels": ["automerge"]
|
"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"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
+15
-3
@@ -2,6 +2,10 @@
|
|||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": ["local>t.behrendt/renovate-configs:common"],
|
"extends": ["local>t.behrendt/renovate-configs:common"],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchManagers": ["npm", "bun"],
|
||||||
|
"addLabels": ["deps", "npm"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "Group all minor and patch updates together",
|
"description": "Group all minor and patch updates together",
|
||||||
"groupName": "all non-major dependencies",
|
"groupName": "all non-major dependencies",
|
||||||
@@ -10,11 +14,19 @@
|
|||||||
"matchManagers": ["npm", "bun"]
|
"matchManagers": ["npm", "bun"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Group Bun releases",
|
"description": "Group Bun runtime version",
|
||||||
"groupName": "bun version",
|
"groupName": "bun version",
|
||||||
"groupSlug": "bun-version",
|
"groupSlug": "bun-version",
|
||||||
"matchDatasources": ["github-tags", "docker"],
|
"matchManagers": ["bun-version"],
|
||||||
"matchPackageNames": ["docker.io/oven/bun", "oven-sh/bun", "Bun"]
|
"matchPackageNames": ["Bun", "bun"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Group Bun Docker image",
|
||||||
|
"groupName": "bun version",
|
||||||
|
"groupSlug": "bun-version",
|
||||||
|
"matchDatasources": ["docker"],
|
||||||
|
"matchPackageNames": ["docker.io/oven/bun", "oven/bun"],
|
||||||
|
"additionalBranchPrefix": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
"lockfileVersion": 1,
|
||||||
|
"configVersion": 1,
|
||||||
|
"workspaces": {
|
||||||
|
"": {
|
||||||
|
"name": "renovate-configs",
|
||||||
|
"devDependencies": {
|
||||||
|
"oxfmt": "0.58.0",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"packages": {
|
||||||
|
"@oxfmt/binding-android-arm-eabi": ["@oxfmt/binding-android-arm-eabi@0.58.0", "", { "os": "android", "cpu": "arm" }, "sha512-Uz62sHduGGPftXtILGyxdSW4PX82rUg+rfdNqhsgxe881g4rIoXlIqmZQ6HVKcF4f+F8qMhdD03Bx5u7gmeTdg=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-android-arm64": ["@oxfmt/binding-android-arm64@0.58.0", "", { "os": "android", "cpu": "arm64" }, "sha512-rD0lRaJp1b+9vw6X4A2dJWKukd6X8yxiicN4JxXcXayolmUypRZxk+lKR+fVOu5q/iYc0fh5fR4bgmfOfVlbaA=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-darwin-arm64": ["@oxfmt/binding-darwin-arm64@0.58.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-uzbPPk7O6M+w2K65vcQ1woga3wgP8zghjL1KOG5b6qJ8dvYHZJ1VShaslg2KOK6yQIwCQtcMCXqLBM6sqXUNTg=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-darwin-x64": ["@oxfmt/binding-darwin-x64@0.58.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-L0nKYDxU32oxeQqJj21W9SlIMnf81VZEhyah6iDvFhf5q0oynq498Fopth7blErUJVBpVtxQ98RMCfMPqpJX6w=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-freebsd-x64": ["@oxfmt/binding-freebsd-x64@0.58.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-woNwfD58dC5PGS9LSLSD5JYfo/EFK5iG9vhDWkcCg3q78ag7KC8bpDqgvPHrMoXpx83OLXxoSOhu6z8FsVTHlg=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-arm-gnueabihf": ["@oxfmt/binding-linux-arm-gnueabihf@0.58.0", "", { "os": "linux", "cpu": "arm" }, "sha512-Sqs8nMLxuQpY21NKJ1u4stPDmO5hskBCNNh2E3AdCfI1QqWtf4m+Qn4mGEIUO4KGmuq3SWc/SZ80uy5IiwTCDw=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-arm-musleabihf": ["@oxfmt/binding-linux-arm-musleabihf@0.58.0", "", { "os": "linux", "cpu": "arm" }, "sha512-Vd4exzBI5B5hB9m22JiTQzIL23WvHo/Pe+sNXPNeBLXSP9swCBPKCEBRwKpmpQzYhlgYaCgfPcGXPKAJBRIiZQ=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-arm64-gnu": ["@oxfmt/binding-linux-arm64-gnu@0.58.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-bUWi5mHV+4Vi56RLHE1h6q/HHfwAIT3XoB9vJAVeRzfu5NriXM8y6eeJu0vlKa0C9kq2rq1sOWRClhdLHPocrg=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-arm64-musl": ["@oxfmt/binding-linux-arm64-musl@0.58.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-2ZHxemzgHcjtktAuVUwSoyXmGo/t+aF5tS1ciPpPei4rhSyrz3JOqDosXXrmhN/yLUSzJjtuW7ToTWqfQpCj2w=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-ppc64-gnu": ["@oxfmt/binding-linux-ppc64-gnu@0.58.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-AwKkVwjVmFQ3bcO7j0McGYAqCKH2a326fswfofng/E8VewCT/raeeGQr4huVhY704deK8AWASSTlxzMj0eZc6Q=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-riscv64-gnu": ["@oxfmt/binding-linux-riscv64-gnu@0.58.0", "", { "os": "linux", "cpu": "none" }, "sha512-xsRpTxfUnJF8D3AUKko/qyWdjw4GZVHlCVFuGlzSCTeewLmykKINW8em1+wx+axsDVtJJcMtvsiaXggXxrlHgw=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-riscv64-musl": ["@oxfmt/binding-linux-riscv64-musl@0.58.0", "", { "os": "linux", "cpu": "none" }, "sha512-Z4AYOTcy7nYEIiXwD62PlerimyYRcfJOgUbQAEBjXz098kxKuERBlRntofGy69HHhe9E0TLVNMl1yspVNu+efw=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-s390x-gnu": ["@oxfmt/binding-linux-s390x-gnu@0.58.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-A3nhhtZPC/TKVWOPj9q/H3p2znJDCcHWYlJBhWL8hGq/bFmBaNBHC8Np6E581yVq1w9Mi3rMDNzDalWvtUfJtQ=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-x64-gnu": ["@oxfmt/binding-linux-x64-gnu@0.58.0", "", { "os": "linux", "cpu": "x64" }, "sha512-2g+tVkgwqphw8R4hgo+kF4oz8+P5RwVOtr9+irsC7uwEp0e9j7Crw8kDGKL20uYlLPD7g02DqA61mC/UNYx98A=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-linux-x64-musl": ["@oxfmt/binding-linux-x64-musl@0.58.0", "", { "os": "linux", "cpu": "x64" }, "sha512-rc15P6AbyyB7426aN8AakLd02Trb3a6ML/mmfAQeVHJEfVofWLcWIrBdy6zDEY+DIaL/s8E4GGPboVw+oP3+EA=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-openharmony-arm64": ["@oxfmt/binding-openharmony-arm64@0.58.0", "", { "os": "none", "cpu": "arm64" }, "sha512-ZWoTM27/HYPOh9iq86DAbhPu9nXb8qKvvGU/h8OfliyVUFAMMNTLDkGsWDKKnDqIkqvZ9+dXlgUOsH1LYO3O7g=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-win32-arm64-msvc": ["@oxfmt/binding-win32-arm64-msvc@0.58.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-LHZnqFXe2dEfkRI4XdZS/57nEOT/I4UCRX5IyM9v4GYW9XwQCjGe1IUK59SuKw3POwvcgWQ4pme2cYXmNqTNPg=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-win32-ia32-msvc": ["@oxfmt/binding-win32-ia32-msvc@0.58.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-mZKpg20TpheCJym1rarcZCUJeW1sSruw8zAAaCYWvuVfwIUDN1CXdrPU/JgCWReXTCTrEfCB8Wyo3hh9jSZ2EA=="],
|
||||||
|
|
||||||
|
"@oxfmt/binding-win32-x64-msvc": ["@oxfmt/binding-win32-x64-msvc@0.58.0", "", { "os": "win32", "cpu": "x64" }, "sha512-N/wUU4N5PZ2orBtI+Ko7MnMfYLfE7K91UrGMY/c/pYyHR3lA9kwst1XugkZx+92YcRh/Eo+iv2eTESSWXfiZPA=="],
|
||||||
|
|
||||||
|
"oxfmt": ["oxfmt@0.58.0", "", { "dependencies": { "tinypool": "2.1.0" }, "optionalDependencies": { "@oxfmt/binding-android-arm-eabi": "0.58.0", "@oxfmt/binding-android-arm64": "0.58.0", "@oxfmt/binding-darwin-arm64": "0.58.0", "@oxfmt/binding-darwin-x64": "0.58.0", "@oxfmt/binding-freebsd-x64": "0.58.0", "@oxfmt/binding-linux-arm-gnueabihf": "0.58.0", "@oxfmt/binding-linux-arm-musleabihf": "0.58.0", "@oxfmt/binding-linux-arm64-gnu": "0.58.0", "@oxfmt/binding-linux-arm64-musl": "0.58.0", "@oxfmt/binding-linux-ppc64-gnu": "0.58.0", "@oxfmt/binding-linux-riscv64-gnu": "0.58.0", "@oxfmt/binding-linux-riscv64-musl": "0.58.0", "@oxfmt/binding-linux-s390x-gnu": "0.58.0", "@oxfmt/binding-linux-x64-gnu": "0.58.0", "@oxfmt/binding-linux-x64-musl": "0.58.0", "@oxfmt/binding-openharmony-arm64": "0.58.0", "@oxfmt/binding-win32-arm64-msvc": "0.58.0", "@oxfmt/binding-win32-ia32-msvc": "0.58.0", "@oxfmt/binding-win32-x64-msvc": "0.58.0" }, "peerDependencies": { "svelte": "^5.0.0", "vite-plus": "*" }, "optionalPeers": ["svelte", "vite-plus"], "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-8feG/7NVEHDVwc1OUpP6Pks+TnaDFUw2jLLFIMi5bcmmwxAX2wBQvjSzj62RRTYBf2Op1Wt8xbkmagmPTR5ETg=="],
|
||||||
|
|
||||||
|
"tinypool": ["tinypool@2.1.0", "", {}, "sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw=="],
|
||||||
|
}
|
||||||
|
}
|
||||||
+19
-10
@@ -2,24 +2,33 @@
|
|||||||
"$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": ["config:best-practices", ":semanticCommitTypeAll(chore)"],
|
"extends": [
|
||||||
|
"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",
|
"description": "Don't update dependencies unless they are at least 7 days old (except for internal deps).",
|
||||||
"matchPackageNames": ["*"],
|
"matchPackageNames": ["!t.behrendt/**", "!gitea.t000-n.de/t.behrendt/**"],
|
||||||
"minimumReleaseAge": "7 days",
|
"minimumReleaseAge": "7 days",
|
||||||
"minimumReleaseAgeBehaviour": "timestamp-required",
|
"minimumReleaseAgeBehaviour": "timestamp-required",
|
||||||
"internalChecksFilter": "strict"
|
"internalChecksFilter": "strict"
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Exempt local dependencies from the minimum release age (last rule wins over earlier packageRules for the same options)",
|
|
||||||
"matchPackageNames": ["/^(https:\\/\\/)?gitea\\.t000-n\\.de/"],
|
|
||||||
"minimumReleaseAge": "0 days",
|
|
||||||
"internalChecksFilter": "none"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"osvVulnerabilityAlerts": true,
|
"osvVulnerabilityAlerts": true,
|
||||||
|
"dependencyDashboardOSVVulnerabilitySummary": "all",
|
||||||
"vulnerabilityAlerts": {
|
"vulnerabilityAlerts": {
|
||||||
"enabled": true
|
"enabled": true,
|
||||||
|
"automerge": true,
|
||||||
|
"platformAutomerge": true,
|
||||||
|
"automergeType": "pr",
|
||||||
|
"addLabels": ["automerge", "security"],
|
||||||
|
"vulnerabilityFixStrategy": "lowest"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": ["local>t.behrendt/renovate-configs:common"],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchManagers": ["gomod"],
|
||||||
|
"addLabels": ["deps", "go"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"matchPackageNames": ["golang", "gomod", "go"],
|
||||||
|
"groupName": "go version",
|
||||||
|
"matchUpdateTypes": ["major", "minor", "patch"]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -8,7 +8,8 @@
|
|||||||
{
|
{
|
||||||
"matchManagers": ["helm-values"],
|
"matchManagers": ["helm-values"],
|
||||||
"versioning": "docker",
|
"versioning": "docker",
|
||||||
"separateMinorPatch": true
|
"separateMinorPatch": true,
|
||||||
|
"addLabels": ["deps", "helm"]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"helmfile": {
|
"helmfile": {
|
||||||
|
|||||||
@@ -4,5 +4,17 @@
|
|||||||
"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
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "renovate-configs",
|
||||||
|
"private": true,
|
||||||
|
"scripts": {
|
||||||
|
"fmt": "oxfmt -c .oxfmtrc.json",
|
||||||
|
"fmt:check": "oxfmt -c .oxfmtrc.json --check"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"oxfmt": "0.58.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
-1
@@ -1,6 +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:action",
|
||||||
|
"local>t.behrendt/renovate-configs:bun-npm"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user