mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-14 07:10:44 +02:00
Add cron-renovate workflow with GitHub App token auth
Co-Authored-By: Claude (Opus 4.6) <noreply@anthropic.com>
This commit is contained in:
parent
b1a751082a
commit
a0b98c68c7
25
.github/workflows/cron-renovate.yml
vendored
Normal file
25
.github/workflows/cron-renovate.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
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'
|
||||
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
|
||||
- uses: actions/checkout@v6
|
||||
- uses: renovatebot/github-action@v46
|
||||
with:
|
||||
token: ${{ steps.get_token.outputs.token }}
|
||||
env:
|
||||
RENOVATE_PLATFORM_COMMIT: "true"
|
||||
@ -3,6 +3,5 @@
|
||||
"extends": ["config:recommended"],
|
||||
"enabledManagers": ["github-actions"],
|
||||
"labels": ["modifies/dependencies"],
|
||||
"schedule": ["before 6am"],
|
||||
"minimumReleaseAge": "5 days"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user