Merge pull request 'configure renovate with a recurring action' (#68) from renovate-config into main
Reviewed-on: #68
This commit is contained in:
commit
a6a617f229
2 changed files with 54 additions and 0 deletions
27
.forgejo/workflows/renovate.yaml
Normal file
27
.forgejo/workflows/renovate.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
name: Renovate Dependency Bot
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 3 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
renovate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: "18"
|
||||||
|
|
||||||
|
- name: Renovate
|
||||||
|
uses: github.com/renovatebot/github-action@v42.0.4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.RENOVATE_TOKEN }}
|
||||||
|
env:
|
||||||
|
LOG_LEVEL: info
|
||||||
|
RENOVATE_CONFIG_FILE: renovate.json
|
||||||
|
RENOVATE_ENDPOINT: ${{ vars.RENOVATE_ENDPOINT }}
|
27
renovate.json
Normal file
27
renovate.json
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"config:base"
|
||||||
|
],
|
||||||
|
"pip_requirements": {
|
||||||
|
"fileMatch": [
|
||||||
|
"^pyproject\\.toml$"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dockerfile": {
|
||||||
|
"fileMatch": [
|
||||||
|
"^Dockerfile$"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"github-actions": {
|
||||||
|
"fileMatch": [
|
||||||
|
"^\\.forgejo\\/workflows\\/.*\\.yml$"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"labels": [
|
||||||
|
"dependencies"
|
||||||
|
],
|
||||||
|
"lockFileMaintenance": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue