mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 22:33:01 +02:00
Compare commits
No commits in common. "283888e78841dd0ccde7c6e04c02c9c49bd441d3" and "2a183cc5a4a271514d5fe19ab2eca0fdde8495f8" have entirely different histories.
283888e788
...
2a183cc5a4
2 changed files with 3 additions and 105 deletions
|
@ -1,64 +0,0 @@
|
||||||
name: Maintenance / Renovate
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
# Run at 5am UTC daily to avoid late-night dev
|
|
||||||
- cron: '0 5 * * *'
|
|
||||||
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
dryRun:
|
|
||||||
description: 'Dry run mode'
|
|
||||||
required: false
|
|
||||||
default: 'false'
|
|
||||||
type: choice
|
|
||||||
options:
|
|
||||||
- 'true'
|
|
||||||
- 'false'
|
|
||||||
logLevel:
|
|
||||||
description: 'Log level'
|
|
||||||
required: false
|
|
||||||
default: 'info'
|
|
||||||
type: choice
|
|
||||||
options:
|
|
||||||
- 'debug'
|
|
||||||
- 'info'
|
|
||||||
- 'warn'
|
|
||||||
- 'error'
|
|
||||||
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
paths:
|
|
||||||
# Re-run when config changes
|
|
||||||
- '.forgejo/workflows/renovate.yml'
|
|
||||||
- 'renovate.json'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
renovate:
|
|
||||||
name: Renovate
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Run Renovate
|
|
||||||
uses: renovatebot/github-action@v40.1.0
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
|
||||||
configurationFile: renovate.json
|
|
||||||
env:
|
|
||||||
# Platform configuration - Forgejo uses Gitea-compatible API
|
|
||||||
RENOVATE_PLATFORM: gitea
|
|
||||||
RENOVATE_ENDPOINT: ${{ github.server_url }}/api/v1
|
|
||||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
|
||||||
|
|
||||||
# Target repository
|
|
||||||
RENOVATE_REPOSITORIES: '["${{ github.repository }}"]'
|
|
||||||
|
|
||||||
# Runtime behaviour
|
|
||||||
RENOVATE_DRY_RUN: ${{ inputs.dryRun || 'false' }}
|
|
||||||
LOG_LEVEL: ${{ inputs.logLevel || 'info' }}
|
|
||||||
|
|
||||||
# Git author for commits - configured via repository variables
|
|
||||||
RENOVATE_GIT_AUTHOR: '${{ vars.RENOVATE_AUTHOR }}'
|
|
|
@ -17,48 +17,10 @@
|
||||||
"github_actions"
|
"github_actions"
|
||||||
],
|
],
|
||||||
"ignoreDeps": [
|
"ignoreDeps": [
|
||||||
"tikv-jemallocator",
|
"tikv-jemllocator",
|
||||||
"tikv-jemalloc-sys",
|
"tikv-jemalloc-sys",
|
||||||
"tikv-jemalloc-ctl",
|
"tikv-jemalloc-ctl",
|
||||||
"opentelemetry",
|
"opentelemetry-rust",
|
||||||
"opentelemetry_sdk",
|
|
||||||
"opentelemetry-jaeger",
|
|
||||||
"tracing-opentelemetry"
|
"tracing-opentelemetry"
|
||||||
],
|
|
||||||
"github-actions": {
|
|
||||||
"enabled": true,
|
|
||||||
"fileMatch": [
|
|
||||||
"(^|/)\\.forgejo/workflows/[^/]+\\.ya?ml$",
|
|
||||||
"(^|/)\\.forgejo/actions/[^/]+/action\\.ya?ml$",
|
|
||||||
"(^|/)\\.github/workflows/[^/]+\\.ya?ml$",
|
|
||||||
"(^|/)\\.github/actions/[^/]+/action\\.ya?ml$"
|
|
||||||
]
|
]
|
||||||
},
|
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"description": "Batch minor and patch GitHub Actions updates",
|
|
||||||
"matchManagers": ["github-actions"],
|
|
||||||
"matchUpdateTypes": ["minor", "patch"],
|
|
||||||
"groupName": "github-actions-non-major"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Group Rust toolchain updates into a single PR",
|
|
||||||
"matchManagers": ["regex"],
|
|
||||||
"matchPackageNames": ["rust", "rustc", "cargo"],
|
|
||||||
"groupName": "rust-toolchain"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Group lockfile updates into a single PR",
|
|
||||||
"matchUpdateTypes": ["lockFileMaintenance"],
|
|
||||||
"groupName": "lockfile-maintenance"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "Batch patch-level Rust dependency updates",
|
|
||||||
"matchManagers": ["cargo"],
|
|
||||||
"matchUpdateTypes": ["patch"],
|
|
||||||
"groupName": "rust-patch-updates"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"prConcurrentLimit": 3,
|
|
||||||
"prHourlyLimit": 2
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue