-
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(ci): Add renovate & update github labeler (#32)
- Loading branch information
1 parent
7a94b46
commit b28747c
Showing
3 changed files
with
189 additions
and
2 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
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,146 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:base" | ||
], | ||
"labels": [ | ||
"dependencies" | ||
], | ||
"baseBranches": ["main"], | ||
"rebaseWhen": "conflicted", | ||
"prHourlyLimit": 10, | ||
"packageRules": [ | ||
{ | ||
"matchPaths": [ | ||
"server/application-server/**" | ||
], | ||
"labels": [ | ||
"application-server" | ||
] | ||
}, | ||
{ | ||
"matchPaths": [ | ||
"server/notification/**" | ||
], | ||
"labels": [ | ||
"notification-server" | ||
] | ||
}, | ||
{ | ||
"matchPaths": [ | ||
"server/webhook-listener/**" | ||
], | ||
"labels": [ | ||
"webhook-listener" | ||
] | ||
}, | ||
{ | ||
"matchPaths": [ | ||
"client/**" | ||
], | ||
"labels": [ | ||
"client" | ||
] | ||
}, | ||
{ | ||
"matchPaths": [ | ||
"docs/**" | ||
], | ||
"labels": [ | ||
"documentation" | ||
] | ||
}, | ||
{ | ||
"matchDatasources": [ | ||
"docker" | ||
], | ||
"labels": [ | ||
"docker" | ||
] | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"matchPaths": [ | ||
"server/application-server/**" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
], | ||
"groupName": "all non-major application-server dependencies", | ||
"groupSlug": "all-minor-patch-application-server" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"matchPaths": [ | ||
"server/notification/**" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
], | ||
"groupName": "all non-major notification-server dependencies", | ||
"groupSlug": "all-minor-patch-notification-server" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"matchPaths": [ | ||
"server/webhook-listener/**" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
], | ||
"groupName": "all non-major webhook-listener dependencies", | ||
"groupSlug": "all-minor-patch-webhook-listener" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"matchPaths": [ | ||
"client/**" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
], | ||
"groupName": "all non-major client dependencies", | ||
"groupSlug": "all-minor-patch-client" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"matchPaths": [ | ||
"docs/**" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
], | ||
"groupName": "all non-major documentation dependencies", | ||
"groupSlug": "all-minor-patch-documentation" | ||
}, | ||
{ | ||
"matchPackagePatterns": [ | ||
"*" | ||
], | ||
"matchPaths": [ | ||
".github/workflows/**" | ||
], | ||
"matchUpdateTypes": [ | ||
"minor", | ||
"patch" | ||
], | ||
"groupName": "all non-major github-actions dependencies", | ||
"groupSlug": "all-minor-patch-github-actions" | ||
} | ||
] | ||
} |
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 @@ | ||
name: Renovate Bot | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
# Runs Renovate daily at 11 AM | ||
- cron: "0 11 * * *" | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- ".github/renovate.json" | ||
- ".github/workflows/renovate.yml" | ||
|
||
concurrency: renovate | ||
jobs: | ||
renovate: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run Renovate | ||
uses: renovatebot/[email protected] | ||
with: | ||
configurationFile: ".github/renovate.json" | ||
token: ${{ secrets.RENOVATE_TOKEN }} | ||
env: | ||
LOG_LEVEL: 'debug' | ||
RENOVATE_REPOSITORIES: ${{ github.repository }} | ||
RENOVATE_ONBOARDING: "false" | ||
RENOVATE_COMMIT_MESSAGE_PREFIX: "chore(deps):" |