Skip to content

Commit

Permalink
add renovate for alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Prashant committed Nov 14, 2024
1 parent 2b20f96 commit 34a66e3
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Renovate
on:
schedule:
- cron: '* */4 * * *' # Runs every 4 hours
workflow_dispatch:
push:
branches:
- main
- deps_check

jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Self-hosted Renovate
uses: renovatebot/[email protected]
with:
token: ${{ secrets.GH_TOKEN }}
configurationFile: renovate.json
env:
LOG_LEVEL: 'info'
RENOVATE_AUTODISCOVER: 'false'
RENOVATE_REPOSITORIES: ${{ github.repository }}
34 changes: 34 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"platform": "github",
"extends": ["config:base"],
"labels": ["version_bump"],
"forkProcessing": "enabled",
"semanticCommits": "enabled",
"dependencyDashboard": true,
"onboarding": true,
"automerge": false,
"separateMinorPatch": true,
"prConcurrentLimit": 20,
"prHourlyLimit": 20,
"dockerfile": {
"enabled": false
},
"customManagers": [
{
"customType": "regex",
"datasourceTemplate": "endoflife-date",
"depNameTemplate": "alpine",
"fileMatch": ["Makefile.variables"],
"matchStrings": ["alpine_version\\s*=\\s*(?<currentValue>\\S+)"],
"packageNameTemplate": "alpine",
"versioningTemplate": "semver"
}
],
"customDatasources": {
"endoflife-date": {
"defaultRegistryUrlTemplate": "https://endoflife.date/api/alpine.json",
"format": "json"
}
}
}

0 comments on commit 34a66e3

Please sign in to comment.