Compare commits
1 Commits
main
..
8e3c9289a7
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e3c9289a7 |
@@ -2,26 +2,19 @@ name: renovate
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "@hourly"
|
- cron: "@daily"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
# Serialize runs: the hourly schedule and a push to main can otherwise overlap,
|
|
||||||
# producing duplicate PRs and concurrent writes to Gitea.
|
|
||||||
concurrency:
|
|
||||||
group: renovate
|
|
||||||
cancel-in-progress: false
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
renovate:
|
renovate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: ghcr.io/renovatebot/renovate:43.226.1@sha256:0b678d3b80ec23a7bf8c967b7796d9df09c50eac7fa16c7b4fd5761a9f4a7be0
|
container: ghcr.io/renovatebot/renovate:43.142.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
|
- uses: actions/checkout@v6
|
||||||
- run: renovate
|
- run: renovate
|
||||||
env:
|
env:
|
||||||
RENOVATE_CONFIG_FILE: "/workspace/lyrathorpe/renovate-config/config.js"
|
RENOVATE_CONFIG_FILE: "/workspace/lyrathorpe/renovate-config/config.js" # replace it with your config.js path
|
||||||
LOG_LEVEL: "info"
|
LOG_LEVEL: "debug"
|
||||||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
|
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # your Revonate bot token
|
||||||
RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
|
|
||||||
|
|||||||
@@ -1,35 +1,8 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
"endpoint": "https://code.emmathe.dev/api/v1",
|
"endpoint": "https://code.emmathe.dev/api/v1", // replace it with your actual endpoint
|
||||||
"gitAuthor": "Renovate Bot <renovate-bot@iam.emmathe.dev>",
|
"gitAuthor": "Renovate Bot <renovate-bot@iam.emmathe.dev>",
|
||||||
"platform": "gitea",
|
"platform": "gitea",
|
||||||
"onboardingConfigFileName": ".renovaterc.json",
|
"onboardingConfigFileName": ".renovaterc.json",
|
||||||
"autodiscover": true,
|
"autodiscover": true,
|
||||||
"optimizeForDisabled": true,
|
"optimizeForDisabled": true,
|
||||||
"extends": ["config:best-practices"],
|
|
||||||
"schedule": ["* * * * 1-5"],
|
|
||||||
"timezone": "Europe/London",
|
|
||||||
"minimumReleaseAge": "3 days",
|
|
||||||
"labels": ["dependencies"],
|
|
||||||
"reviewers": ["lyrathorpe"],
|
|
||||||
"prHourlyLimit": 10,
|
|
||||||
"prConcurrentLimit": 10,
|
|
||||||
"branchConcurrentLimit": 10,
|
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
|
|
||||||
"automerge": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"matchUpdateTypes": ["major"],
|
|
||||||
"automerge": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"lockFileMaintenance": {
|
|
||||||
"enabled": true,
|
|
||||||
"schedule": ["before 4am on monday"]
|
|
||||||
},
|
|
||||||
"vulnerabilityAlerts": {
|
|
||||||
"enabled": true,
|
|
||||||
"schedule": ["at any time"]
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user