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 1076658
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"dependencyDashboard": true,
"onboarding": false,
"automerge": false,
"separateMinorPatch": true,
"platform": "github",
"extends": ["config:base"],
"labels": ["version_bump"],
"forkProcessing": "enabled",
"semanticCommits": "enabled",
"prConcurrentLimit": 20,
"prHourlyLimit": 20,
"dockerfile": {
"enabled": false
},
"customManagers": [
{
"customType": "regex",
"fileMatch": ["embedded-bins/Makefile.variables"],
"matchStrings": ["alpine_version\\s*=\\s*(?<currentValue>\\S+)"],
"depNameTemplate": "alpine",
"versioningTemplate": "semver",
"datasourceTemplate": "endoflife-date",
"packageNameTemplate": "alpine"
}
],
"customDatasources": {
"endoflife-date": {
"defaultRegistryUrlTemplate": "https://endoflife.date/api/alpine.json",
"format": "json"
}
}
}
25 changes: 25 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Adding renovate workflow to dependencies version in
name: Renovate
on:
schedule:
- cron: '* */6 * * *' # Runs every 6 hours
workflow_dispatch:
push:
branches:
- main
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: .github/workflows/renovate.json
env:
LOG_LEVEL: 'debug'
RENOVATE_AUTODISCOVER: 'false'
RENOVATE_REPOSITORIES: ${{ github.repository }}

0 comments on commit 1076658

Please sign in to comment.