Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions .github/dependabot.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up .NET
uses: actions/setup-dotnet@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up .NET
uses: actions/setup-dotnet@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up .NET
uses: actions/setup-dotnet@v4
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name: Renovate
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:

concurrency:
group: renovate
cancel-in-progress: false

jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6

- name: Self-hosted Renovate
uses: renovatebot/github-action@v46.1.15
with:
configurationFile: renovate.json
token: ${{ secrets.RENOVATE_TOKEN }}
env:
LOG_LEVEL: debug
RENOVATE_REPOSITORIES: dotnetcore/SmartSql
RENOVATE_ONBOARDING: 'false'
RENOVATE_PLATFORM: github
RENOVATE_REPOSITORY_CACHE: enabled
22 changes: 20 additions & 2 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
{
"extends": [
"config:base"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"timezone": "Asia/Shanghai",
"labels": ["dependencies"],
"commitMessagePrefix": "fix(deps)",
"commitMessageTopic": "{{depName}}",
"rangeStrategy": "bump",
"lockFileMaintenance": { "enabled": false },
"prConcurrentLimit": 5,
"packageRules": [
{
"description": "Group Spring ecosystem updates into a single PR",
"matchPackagePatterns": ["^org\\.springframework"],
"groupName": "spring"
},
{
"description": "Group Kotlin-related updates into a single PR",
"matchPackagePatterns": ["^org\\.jetbrains\\.kotlin"],
"groupName": "kotlin"
}
]
}
Loading