@@ -2,10 +2,11 @@ name: renovate
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "@daily"
|
||||
- cron: "0 0 * * *"
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch: # Allows you to run it manually to test
|
||||
|
||||
jobs:
|
||||
renovate:
|
||||
@@ -16,9 +17,12 @@ jobs:
|
||||
|
||||
- name: Run Renovate
|
||||
# Pulled from public Docker Hub instead of ghcr.io
|
||||
uses: docker://renovate/renovate:37.20.2
|
||||
uses: docker://renovate/renovate:38 # Pinning to a major version is usually easier to maintain
|
||||
env:
|
||||
# This forces the exact system path to be dynamically generated
|
||||
RENOVATE_CONFIG_FILE: ${{ github.workspace }}/infra/renovate/config.js
|
||||
LOG_LEVEL: "debug"
|
||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
||||
RENOVATE_ENDPOINT: "https://git.natelubitz.com/api/v1"
|
||||
with:
|
||||
args: "${{ github.workspace }}/infra/renovate/config.js"
|
||||
+5
-2
@@ -1,9 +1,12 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["config:base"],
|
||||
"packageRules": [
|
||||
{
|
||||
"updateTypes": ["minor", "patch", "pin", "digest"],
|
||||
"automerge": true
|
||||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
|
||||
"automerge": true,
|
||||
"automergeType": "pr",
|
||||
"requiredStatusChecks": null
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user