update .github/workflows/renovate.yaml, renovate.json
This commit is contained in:
28
.github/workflows/renovate.yaml
vendored
Normal file
28
.github/workflows/renovate.yaml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Renovate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Daily at midnight
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
GITHUB_COM_TOKEN: ${{ secrets.SECRET_GITHUB_COM_TOKEN }}
|
||||
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
- name: setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '24'
|
||||
- run: npm install -g renovate
|
||||
- name: Run Renovate
|
||||
run: renovate --token=${{ secrets.THIS_TOKEN }} --endpoint=https://gitea.ssig33.com --platform=gitea --autodiscover --autodiscover-filter ${{ github.repository }}
|
||||
12
renovate.json
Normal file
12
renovate.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:recommended"],
|
||||
"prHourlyLimit": 200,
|
||||
"packageRules": [
|
||||
{
|
||||
"groupName": "Minor and Patch dependencies",
|
||||
"matchUpdateTypes": ["minor", "patch"],
|
||||
"automerge": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user