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:
commit
60174e52fe
10
.github/dependabot.yml
vendored
10
.github/dependabot.yml
vendored
@ -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
28
.github/workflows/cron-renovate.yml
vendored
Normal 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
8
renovate.json5
Normal 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/",
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user