-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TECH-112] Add global Renovate workflow (#1)
* Add global Renovate workflow * Update .editorconfig Co-authored-by: Guillaume Caya-Letourneau <[email protected]> Co-authored-by: Guillaume Caya-Letourneau <[email protected]>
- Loading branch information
Showing
5 changed files
with
76 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,8 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
charset = utf-8 | ||
|
||
[*.{yml,yaml,json}] | ||
indent_size = 2 |
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,16 @@ | ||
# Set the default behavior, in case users don't have core.autocrlf set. | ||
* text=auto | ||
|
||
# Files that should always be normalized and converted to native line endings on checkout. | ||
*.js text | ||
*.json text | ||
*.ts text | ||
*.tsx text | ||
*.md text | ||
*.sh text eol=lf | ||
*.conf text eol=lf | ||
*.yml text eol=lf | ||
*.yaml text eol=lf | ||
*.Dockerfile text eol=lf | ||
Dockerfile text eol=lf | ||
LICENSE text eol=lf |
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,20 @@ | ||
name: Renovate | ||
|
||
on: | ||
schedule: | ||
- cron: "5 2 * * *" | ||
|
||
jobs: | ||
renovate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Renovate | ||
shell: bash | ||
run: npx renovate | ||
env: | ||
RENOVATE_CONFIG_FILE: "renovate.json" | ||
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} | ||
LOG_LEVEL: "debug" |
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,9 @@ | ||
# JetBrains IDEs | ||
.idea/ | ||
|
||
# OS junk | ||
.DS_Store | ||
Desktop.ini | ||
ehthumbs.db | ||
Thumbs.db | ||
$RECYCLE.BIN/ |
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,23 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"platform": "github", | ||
"labels": ["renovate"], | ||
"extends": ["config:base"], | ||
"enabledManagers": ["github-actions"], | ||
"description": "Discovers all repositories within the gsoft-inc organisation that contains a Renovate configuration file, and execute Renovate by using each individual repository configuration", | ||
"autodiscover": true, | ||
"autodiscoverFilter": ["gsoft-inc/*"], | ||
"optimizeForDisabled": true, | ||
"onboarding": false, | ||
"prHourlyLimit": 0, | ||
"prConcurrentLimit": 0, | ||
"branchConcurrentLimit": 0, | ||
"dependencyDashboard": false, | ||
"gitAuthor": "Renovate Bot <[email protected]>", | ||
"packageRules": [ | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"groupName": "GitHub actions dependencies" | ||
} | ||
] | ||
} |