-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add-renovate * Update .github/workflows/lint.yml Co-authored-by: ss675u <[email protected]> Co-authored-by: Dan Rowe <[email protected]>
- Loading branch information
1 parent
72d0e5a
commit 2b5ff3a
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,13 @@ | ||
name: Renovate Config Linting | ||
on: | ||
pull_request: | ||
|
||
jobs: | ||
renovate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: 🧼 lint renovate config # Validates changes to renovate.json config file | ||
uses: suzuki-shunsuke/[email protected] | ||
with: | ||
config_file_path: 'renovate.json' |
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,33 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "Renovate configuration for hypernova php repository", | ||
"extends": [ | ||
"config:base", | ||
":dependencyDashboard", | ||
":rebaseStalePrs" | ||
], | ||
"schedule": [ | ||
"before 3am every weekday" | ||
], | ||
"enabledManagers": [ | ||
"github-actions" | ||
], | ||
"composer": { | ||
"packageRules": [ | ||
{ | ||
"description": "Wait 3 days before opening a PR for new major version updates", | ||
"matchUpdateTypes": ["major"] | ||
}, | ||
{ | ||
"description": "Automerge non-major version updates (assuming the CI pipelines pass)", | ||
"matchUpdateTypes": ["patch", "minor"] | ||
} | ||
] | ||
}, | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"groupName": "GitHub Actions" | ||
} | ||
] | ||
} |