Skip to content

Commit

Permalink
feat: set up self-hosted renovate
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinderoubaix committed Nov 27, 2023
1 parent 16d8c1f commit ff83ff7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: renovate
on:
schedule:
# The "*" (#42, asterisk) character has special semantics in YAML, so this
# string has to be quoted.
- cron: '0 * * * *'
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: renovatebot/github-action@v39.1.3
with:
configurationFile: renovate.json
token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 2 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"repositories": ["AmadeusITGroup/AgnosUI"],
"platform": "github",
"extends": ["config:recommended", "group:allNonMajor"],
"extends": ["config:recommended", ":dependencyDashboard", "group:allNonMajor"],
"ignorePresets": [":prHourlyLimit2", ":prConcurrentLimit10"],
"schedule": "every weekend",
"rangeStrategy": "bump",
Expand Down Expand Up @@ -37,5 +37,6 @@
"groupSlug": "angular-dependencies"
}
],
"allowedPostUpgradeCommands": ["^npm install$", "^cd angular && npm run ng update .*", "^rm package-lock.json$"],
"lockFileMaintenance": {"enabled": true, "schedule": ["every weekend"]}
}

0 comments on commit ff83ff7

Please sign in to comment.