@@ -2,10 +2,11 @@ name: renovate
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "@daily"
|
- cron: "0 0 * * *"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
workflow_dispatch: # Allows you to run it manually to test
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
renovate:
|
renovate:
|
||||||
@@ -16,9 +17,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Renovate
|
- name: Run Renovate
|
||||||
# Pulled from public Docker Hub instead of ghcr.io
|
# 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:
|
env:
|
||||||
# This forces the exact system path to be dynamically generated
|
# This forces the exact system path to be dynamically generated
|
||||||
RENOVATE_CONFIG_FILE: ${{ github.workspace }}/infra/renovate/config.js
|
RENOVATE_CONFIG_FILE: ${{ github.workspace }}/infra/renovate/config.js
|
||||||
LOG_LEVEL: "debug"
|
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"],
|
"extends": ["config:base"],
|
||||||
"packageRules": [
|
"packageRules": [
|
||||||
{
|
{
|
||||||
"updateTypes": ["minor", "patch", "pin", "digest"],
|
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
|
||||||
"automerge": true
|
"automerge": true,
|
||||||
|
"automergeType": "pr",
|
||||||
|
"requiredStatusChecks": null
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user