generated from cybozu-go/neco-template
-
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.
Merge pull request #38 from cybozu-go/add-renovate-workflow
Add renovate workflow
- Loading branch information
Showing
3 changed files
with
65 additions
and
1 deletion.
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,15 @@ | ||
name: Renovate | ||
on: | ||
schedule: | ||
- cron: '0 0 * * 2' | ||
jobs: | ||
renovate: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Self-hosted Renovate | ||
uses: renovatebot/github-action@2a87d1192eaa0cac92b6566233afedf68fd3472a # renovate v38.1.8 | ||
with: | ||
configurationFile: renovate.json | ||
token: ${{ secrets.RENOVATE_TOKEN }} |
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,48 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"username": "renovate[bot]", | ||
"gitAuthor": "Renovate Bot <bot@renovateapp.com>", | ||
"platform": "github", | ||
"onboarding": false, | ||
"repositories": [ | ||
"cybozu-go/pod-security-admission" | ||
], | ||
"extends": [ | ||
"config:base", | ||
"github>aquaproj/aqua-renovate-config#1.6.0", | ||
":semanticCommitTypeAll(chore)", | ||
":timezone(Asia/Tokyo)" | ||
], | ||
"ignorePresets": [":prHourlyLimit2"], | ||
"labels": [ | ||
"dependencies" | ||
], | ||
"packageRules": [ | ||
{ | ||
"description": "Separate minor and patch updates for Kubernetes packages", | ||
"matchDatasources": [ | ||
"go" | ||
], | ||
"matchPackagePatterns": [ | ||
"^k8s\\.io\\/.*" | ||
], | ||
"separateMinorPatch": true | ||
}, | ||
{ | ||
"description": "Disable major updates for k8s.io/client-go", | ||
"enabled": false, | ||
"matchDatasources": [ | ||
"go" | ||
], | ||
"matchPackageNames": [ | ||
"k8s.io/client-go" | ||
], | ||
"matchUpdateTypes": [ | ||
"major" | ||
] | ||
} | ||
], | ||
"postUpdateOptions": [ | ||
"gomodTidy" | ||
] | ||
} |