-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: support renovate bot * fix: update renovate bot token * fix: update renovate.json * fix: update renovate.json
- Loading branch information
1 parent
8b46072
commit 79f0db1
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Renovate | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
renovate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.6.0 | ||
- name: Self-hosted Renovate | ||
uses: renovatebot/github-action@v39.2.4 | ||
with: | ||
token: ${{ secrets.CPP_LINTER_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"baseBranches": ["main"], | ||
"rebaseWhen": "behind-base-branch", | ||
"dependencyDashboard": false, | ||
"labels": ["dependencies"], | ||
"commitMessagePrefix": "", | ||
"commitMessageTopic": "{{depName}}", | ||
"regexManagers": [ | ||
{ | ||
"customType": "regex", | ||
"matchStrings": [ | ||
"\\sappVersion: (?<currentValue>.*)\\s" | ||
], | ||
"datasourceTemplate": "github-releases", | ||
"depNameTemplate": "cpp-linter/clang-tools-static-binaries", | ||
"extractVersionTemplate": "^master-\\w*" | ||
} | ||
], | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["github-releases"], | ||
"matchDepNames": ["cpp-linter/clang-tools-static-binaries"], | ||
"matchUpdateTypes": ["minor", "patch"], | ||
"automerge": true | ||
} | ||
] | ||
} |