0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-03 16:52:10 +02:00

Merge b35ee4252481a9f84615b8715832842ba28a2d82 into f70f2c76cb31e5770522b8442db765da0569be96

This commit is contained in:
silverwind 2026-04-03 07:59:00 +02:00 committed by GitHub
commit 60174e52fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 36 additions and 10 deletions

View File

@ -1,10 +0,0 @@
version: 2
updates:
- package-ecosystem: github-actions
labels: [modifies/dependencies]
directory: /
schedule:
interval: daily
cooldown:
default-days: 5

28
.github/workflows/cron-renovate.yml vendored Normal file
View File

@ -0,0 +1,28 @@
name: cron-renovate
on:
schedule:
- cron: "0 1 * * *" # every day at 01:00 UTC
workflow_dispatch:
jobs:
cron-renovate:
runs-on: ubuntu-latest
if: github.repository == 'go-gitea/gitea' # prevent running on forks
permissions:
contents: read
steps:
- uses: actions/create-github-app-token@v1
id: get_token
with:
app-id: ${{ secrets.RENOVATE_APP_ID }}
private-key: ${{ secrets.RENOVATE_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: gitea # scope token to this repo only
- uses: actions/checkout@v6
- uses: renovatebot/github-action@v46
with:
configurationFile: renovate.json5
token: ${{ steps.get_token.outputs.token }}
env:
RENOVATE_PLATFORM_COMMIT: "true" # commit directly to branch to avoid API rate limits and for commit signing.

8
renovate.json5 Normal file
View File

@ -0,0 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"enabledManagers": ["github-actions"],
"labels": ["modifies/dependencies"],
"minimumReleaseAge": "5 days",
"branchPrefix": "renovate/",
}