-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update lint rules * Remove dependabot config * Update stale PR workflow * Add linting for renovate config * Update CHANGELOG and fix #30 * Add base project config for renovate * Add renovate customization instructions to README
- Loading branch information
Showing
7 changed files
with
93 additions
and
36 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -8,14 +8,20 @@ on: # Rebuild any PRs and main branch changes | |
pull_request: | ||
|
||
jobs: | ||
lint: | ||
markdown: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Lint Markdown files | ||
uses: avto-dev/markdown-lint@v1 | ||
with: | ||
config: '.markdownlint.json' | ||
args: '**/*.md .github/**/*.md' | ||
- uses: actions/checkout@v3 | ||
- name: ⬇️ lint markdown files # Lints all markdown (.md) files | ||
uses: avto-dev/markdown-lint@v1 | ||
with: | ||
config: '.markdownlint.json' | ||
args: '**/*.md .github/**/*.md' | ||
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
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 |
---|---|---|
|
@@ -9,5 +9,8 @@ | |
"MD024": { | ||
"siblings_only": true | ||
}, | ||
"MD025": { | ||
"front_matter_title": "" | ||
}, | ||
"MD041": false | ||
} |
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
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
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,26 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"description": "Renovate configuration recommended by the Wayfair OSPO", | ||
"labels": [ | ||
"renovate/{{depName}}" | ||
], | ||
"extends": [ | ||
"config:base", | ||
":rebaseStalePrs", | ||
"schedule:earlyMondays" | ||
], | ||
"enabledManagers": [ | ||
"github-actions" | ||
], | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": ["minor", "patch", "pin", "digest"], | ||
"groupName": "Minor Updates", | ||
"automerge": true | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"groupName": "GitHub Actions" | ||
} | ||
] | ||
} |