Compare commits
46 Commits
b94e47dc0a
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c68c2527d2 | |||
| c17d3a6d19 | |||
| 80ab6cb726 | |||
| 716d83c9f5 | |||
| 8782975bde | |||
| 4f76a5c5d1 | |||
| 12df555caf | |||
| 74c24bfec4 | |||
| 1f6f058e06 | |||
| 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 | |||
| 18683271ea | |||
| b4939f348d |
@@ -0,0 +1 @@
|
||||
1.3.14
|
||||
@@ -5,3 +5,4 @@ end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = 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@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,6 +4,14 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "action.json"
|
||||
- "bun-npm.json"
|
||||
- "common.json"
|
||||
- "docker-compose.json"
|
||||
- "golang.json"
|
||||
- "helm.json"
|
||||
- "k8s.json"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@@ -11,15 +19,15 @@ jobs:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Increment 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:
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
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@3f772d0a80a510b0f06762be110276c9c8a7b7b8 # 0.2.12
|
||||
with:
|
||||
tag: ${{ steps.tag.outputs.new-tag }}
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches-ignore:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -16,9 +18,22 @@ jobs:
|
||||
- "common.json"
|
||||
- "docker-compose.json"
|
||||
- "bun-npm.json"
|
||||
- "golang.json"
|
||||
steps:
|
||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- 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:
|
||||
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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# dependencies (bun install)
|
||||
node_modules
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||
"ignorePatterns": []
|
||||
}
|
||||
+79
-10
@@ -1,43 +1,112 @@
|
||||
{
|
||||
"$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": [
|
||||
{
|
||||
"matchManagers": ["github-actions"],
|
||||
"addLabels": ["deps", "action"]
|
||||
},
|
||||
{
|
||||
"matchManagers": ["github-actions"],
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
"groupName": "actions"
|
||||
},
|
||||
{
|
||||
"matchManagers": ["github-actions"],
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
"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",
|
||||
|
||||
"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",
|
||||
|
||||
"helmfile/helmfile-action",
|
||||
"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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+15
-3
@@ -2,6 +2,10 @@
|
||||
"$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 updates together",
|
||||
"groupName": "all non-major dependencies",
|
||||
@@ -10,11 +14,19 @@
|
||||
"matchManagers": ["npm", "bun"]
|
||||
},
|
||||
{
|
||||
"description": "Group Bun releases",
|
||||
"description": "Group Bun runtime version",
|
||||
"groupName": "bun version",
|
||||
"groupSlug": "bun-version",
|
||||
"matchDatasources": ["github-tags", "docker"],
|
||||
"matchPackageNames": ["docker.io/oven/bun", "oven-sh/bun", "Bun"]
|
||||
"matchManagers": ["bun-version"],
|
||||
"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.60.0",
|
||||
},
|
||||
},
|
||||
},
|
||||
"packages": {
|
||||
"@oxfmt/binding-android-arm-eabi": ["@oxfmt/binding-android-arm-eabi@0.60.0", "", { "os": "android", "cpu": "arm" }, "sha512-1q4q4Jc8FlOMVojEisyFAVyl8h1yawNv6phjgmhGVEDeyeOdsSnSr9x0+D4mOnEKvpO5L4mxKZ/DP9X6U3A/Mw=="],
|
||||
|
||||
"@oxfmt/binding-android-arm64": ["@oxfmt/binding-android-arm64@0.60.0", "", { "os": "android", "cpu": "arm64" }, "sha512-tD41I6nCt9k8SQXft0CSjjU9jg6SwG7uMu7PxodSEHXl+GDW0868oy6tTtoJkyUze8YKFgTpz/k5LuPUnFiGLw=="],
|
||||
|
||||
"@oxfmt/binding-darwin-arm64": ["@oxfmt/binding-darwin-arm64@0.60.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-TTpzPug96Zxdyb46KvTyIUQDdsqbumXh2TKG9C23PCT0kF7JkW56Z/quPuG9rqOFKQIi1gpRNZ7DX18LwxXPnw=="],
|
||||
|
||||
"@oxfmt/binding-darwin-x64": ["@oxfmt/binding-darwin-x64@0.60.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-CnOoWgQ7L+JL/YQaRJ+NyATciSfcftncm7y3kqyte1cGtFEGnStaCd1TAyrinkfQ7nRBfHrTs1/vTwUJr3WF2Q=="],
|
||||
|
||||
"@oxfmt/binding-freebsd-x64": ["@oxfmt/binding-freebsd-x64@0.60.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-ychJo7S3hZxdO6eDZ9zM6F2lM9fpJS3EKS5CAUSWyprdLYxTu4gbaUKV/VBPTcMJwQa2Bpo+643y3OJ537pihA=="],
|
||||
|
||||
"@oxfmt/binding-linux-arm-gnueabihf": ["@oxfmt/binding-linux-arm-gnueabihf@0.60.0", "", { "os": "linux", "cpu": "arm" }, "sha512-36IH5o55T2Fx7E0feDttt+mifxN6yk9pWv4KfhAIsP0dFnUq27331OwbpOsZdoXF9soOLWm7mQUz5+UUmyec4g=="],
|
||||
|
||||
"@oxfmt/binding-linux-arm-musleabihf": ["@oxfmt/binding-linux-arm-musleabihf@0.60.0", "", { "os": "linux", "cpu": "arm" }, "sha512-G1Ve7lAa6sFBolVI2LWHfEAqy0YKh4vnioH8uYO9kAEdgM7mR40IksIx9/Zk4+vbYew/sGa4J9Q4tZ3n9gXDHA=="],
|
||||
|
||||
"@oxfmt/binding-linux-arm64-gnu": ["@oxfmt/binding-linux-arm64-gnu@0.60.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-LTQdRBf6uzj/h7Xk6lKzbGD2hrF/fK4YI9LIN1c0509tPUn8wRa3mCmrFQpEWJPLYGFrLFFMTYW1Ljj6VqW2Hw=="],
|
||||
|
||||
"@oxfmt/binding-linux-arm64-musl": ["@oxfmt/binding-linux-arm64-musl@0.60.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-2JMo3XPxMPx3hiqddSZYyaH+fKJm6cz0u8n1naYjP/CdOQOZW34i8lKBUfmbWiuFvd6KoYXLmhAyBuvojsYS7Q=="],
|
||||
|
||||
"@oxfmt/binding-linux-ppc64-gnu": ["@oxfmt/binding-linux-ppc64-gnu@0.60.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-L3C+nBD13lr306tr/PjM3RMll+BVqgFrIgUyoeHuai5oueJrRLgO3j+GO5/Cbhtkf5PSlHYTI1JY7iqBd1qa6A=="],
|
||||
|
||||
"@oxfmt/binding-linux-riscv64-gnu": ["@oxfmt/binding-linux-riscv64-gnu@0.60.0", "", { "os": "linux", "cpu": "none" }, "sha512-M4MsmvqlxFiPtSRGyBYQSZxchEf463AOyd+Dh4/9xDpjWBsRtDUTDMFN5EdHinjVK1/eDJQ8MLpcYjpYayaCnA=="],
|
||||
|
||||
"@oxfmt/binding-linux-riscv64-musl": ["@oxfmt/binding-linux-riscv64-musl@0.60.0", "", { "os": "linux", "cpu": "none" }, "sha512-OH+9UskYuxRB+GxqdGkVN8f5UpwhqG8YscNo1wl8+KJ62cd7wZdGga6iGLJIf8kibF1WBwvlfDUx3cez/VXwFg=="],
|
||||
|
||||
"@oxfmt/binding-linux-s390x-gnu": ["@oxfmt/binding-linux-s390x-gnu@0.60.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-y7AAFutt9wFWBFOAn6+BHaV39usZmcr3YYH2385f+NHgPNpIF9HpqKp0jgUxPaUOCyG3oaX5VhJduL1Nw164rw=="],
|
||||
|
||||
"@oxfmt/binding-linux-x64-gnu": ["@oxfmt/binding-linux-x64-gnu@0.60.0", "", { "os": "linux", "cpu": "x64" }, "sha512-yKZ9+CXAI+1RO5nH/4Z/9M6DAsfOzd5bw/gtWk81KB4mpalMaRRSXfouc5/tHxazDmBek55HNPepNYBgaCew0Q=="],
|
||||
|
||||
"@oxfmt/binding-linux-x64-musl": ["@oxfmt/binding-linux-x64-musl@0.60.0", "", { "os": "linux", "cpu": "x64" }, "sha512-bCUGaF6hJOYnQzLJdHLZbvGsOd5oSvGAyJhPAKum2uyLYUuXmP8vqg690DWi2hqcnIoYpqSqCrjzE5aiUAgwQg=="],
|
||||
|
||||
"@oxfmt/binding-openharmony-arm64": ["@oxfmt/binding-openharmony-arm64@0.60.0", "", { "os": "none", "cpu": "arm64" }, "sha512-GrUeZOvzP30ExxfCuQiyofuUGI+OmvAgFwOO5w5p9mGPlxcyuqI+6Sy9fAKFFfLQrqKYWFgc5sYA2Unj/29nPg=="],
|
||||
|
||||
"@oxfmt/binding-win32-arm64-msvc": ["@oxfmt/binding-win32-arm64-msvc@0.60.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-WD4Q954kUl2TDJV/6q7UnE2rlKk047kXLJsr4bJ2mXRaAqNXcmV3nwKUsGCc3mz/jYDBnXtJEaBErJEybK8iQQ=="],
|
||||
|
||||
"@oxfmt/binding-win32-ia32-msvc": ["@oxfmt/binding-win32-ia32-msvc@0.60.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-HqDekjr8JXzVDUP1YthDZ1Y3CBEcuZT4WX3B+1kaxj8CvZA8Y2YhcEsXqoSop3tVsgjACxjnFQFDkBo0r/jq1Q=="],
|
||||
|
||||
"@oxfmt/binding-win32-x64-msvc": ["@oxfmt/binding-win32-x64-msvc@0.60.0", "", { "os": "win32", "cpu": "x64" }, "sha512-tz78yhmGPKboTMHCHSaUqXK8JrmoSejgDcWeqAtg2s07ZGKQ3rH5Jn8NuXPGNG33CDbY2e9NoQWXIVEmKO21Rw=="],
|
||||
|
||||
"oxfmt": ["oxfmt@0.60.0", "", { "dependencies": { "tinypool": "2.1.0" }, "optionalDependencies": { "@oxfmt/binding-android-arm-eabi": "0.60.0", "@oxfmt/binding-android-arm64": "0.60.0", "@oxfmt/binding-darwin-arm64": "0.60.0", "@oxfmt/binding-darwin-x64": "0.60.0", "@oxfmt/binding-freebsd-x64": "0.60.0", "@oxfmt/binding-linux-arm-gnueabihf": "0.60.0", "@oxfmt/binding-linux-arm-musleabihf": "0.60.0", "@oxfmt/binding-linux-arm64-gnu": "0.60.0", "@oxfmt/binding-linux-arm64-musl": "0.60.0", "@oxfmt/binding-linux-ppc64-gnu": "0.60.0", "@oxfmt/binding-linux-riscv64-gnu": "0.60.0", "@oxfmt/binding-linux-riscv64-musl": "0.60.0", "@oxfmt/binding-linux-s390x-gnu": "0.60.0", "@oxfmt/binding-linux-x64-gnu": "0.60.0", "@oxfmt/binding-linux-x64-musl": "0.60.0", "@oxfmt/binding-openharmony-arm64": "0.60.0", "@oxfmt/binding-win32-arm64-msvc": "0.60.0", "@oxfmt/binding-win32-ia32-msvc": "0.60.0", "@oxfmt/binding-win32-x64-msvc": "0.60.0" }, "peerDependencies": { "svelte": "^5.0.0", "vite-plus": "*" }, "optionalPeers": ["svelte", "vite-plus"], "bin": { "oxfmt": "bin/oxfmt" } }, "sha512-fViX6i+gJuZWY+jI/fnR6WRbRj70GZ9RlCd30MygJrHTUNc4DxvKHWw8vBjMjffv3PgU5qWDR0AzmojQByqaZA=="],
|
||||
|
||||
"tinypool": ["tinypool@2.1.0", "", {}, "sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw=="],
|
||||
}
|
||||
}
|
||||
+23
-10
@@ -2,20 +2,33 @@
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"dependencyDashboard": true,
|
||||
"semanticCommits": "enabled",
|
||||
"extends": ["config:best-practices", ":semanticCommitTypeAll(chore)"],
|
||||
"extends": [
|
||||
"config:recommended",
|
||||
"docker:pinDigests",
|
||||
"helpers:pinGitHubActionDigests",
|
||||
":configMigration",
|
||||
":pinDevDependencies",
|
||||
"abandonments:recommended",
|
||||
":maintainLockFilesWeekly",
|
||||
":semanticCommitTypeAll(chore)"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "Don't update dependencies unless they are at least 7 days old",
|
||||
"matchPackageNames": ["*"],
|
||||
"description": "Don't update dependencies unless they are at least 7 days old (except for internal deps).",
|
||||
"matchPackageNames": ["!t.behrendt/**", "!gitea.t000-n.de/t.behrendt/**"],
|
||||
"minimumReleaseAge": "7 days",
|
||||
"minimumReleaseAgeBehaviour": "timestamp-required",
|
||||
"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,
|
||||
"dependencyDashboardOSVVulnerabilitySummary": "all",
|
||||
"vulnerabilityAlerts": {
|
||||
"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"],
|
||||
"versioning": "docker",
|
||||
"separateMinorPatch": true
|
||||
"separateMinorPatch": true,
|
||||
"addLabels": ["deps", "helm"]
|
||||
}
|
||||
],
|
||||
"helmfile": {
|
||||
|
||||
@@ -4,5 +4,17 @@
|
||||
"kubernetes": {
|
||||
"enabled": true,
|
||||
"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.60.0"
|
||||
}
|
||||
}
|
||||
+2
-1
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"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