File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://docs.renovatebot.com/renovate-schema.json" ,
3+ "extends" : [
4+ " github>rancher/renovate-config//default#release"
5+ ],
6+ "baseBranchPatterns" : [
7+ " main"
8+ ],
9+ "packageRules" : [
10+ {
11+ "matchBaseBranches" : [
12+ " main"
13+ ],
14+ "extends" : [
15+ " github>rancher/renovate-config//rancher-main#release"
16+ ]
17+ }
18+ ]
19+ }
Original file line number Diff line number Diff line change 1+ name : Renovate
2+ on :
3+ workflow_dispatch :
4+ inputs :
5+ logLevel :
6+ description : " Override default log level"
7+ required : false
8+ default : info
9+ type : choice
10+ options :
11+ - info
12+ - debug
13+ overrideSchedule :
14+ description : " Override all schedules"
15+ required : false
16+ default : " false"
17+ type : choice
18+ options :
19+ - " false"
20+ - " true"
21+ configMigration :
22+ description : " Toggle PRs for config migration"
23+ required : false
24+ default : " true"
25+ type : choice
26+ options :
27+ - " false"
28+ - " true"
29+ renovateConfig :
30+ description : " Define a custom renovate config file"
31+ required : false
32+ default : " .github/renovate.json"
33+ type : string
34+ minimumReleaseAge :
35+ description : " Override minimumReleaseAge for a one-time run (e.g., '0 days' to disable delay)"
36+ required : false
37+ default : " null"
38+ type : string
39+
40+ schedule :
41+ - cron : ' 30 6 * * 1-5'
42+
43+ permissions : {}
44+
45+ jobs :
46+ call-workflow :
47+ permissions :
48+ contents : read
49+ id-token : write # Required for Vault OIDC authentication.
50+ # https://github.com/rancher/renovate-config/releases
51+ uses : rancher/renovate-config/.github/workflows/renovate-vault.yml@b20e059a3642b4f6add6f9db276349daca5ea54e # v1.0.10
52+ # Note: github.event.inputs.<name> with '||' fallbacks is used across all inputs
53+ # so that scheduled cron runs (where github.event.inputs is null) safely default.
54+ with :
55+ configMigration : ${{ github.event.inputs.configMigration || 'true' }}
56+ logLevel : ${{ github.event.inputs.logLevel || 'info' }}
57+ overrideSchedule : ${{ github.event.inputs.overrideSchedule || 'false' }}
58+ renovateConfig : ${{ github.event.inputs.renovateConfig || '.github/renovate.json' }}
59+ minimumReleaseAge : ${{ github.event.inputs.minimumReleaseAge || 'null' }}
60+ secrets :
61+ # Optional: RENOVATE_FORK_GH_TOKEN allows this action to run on repository forks where
62+ # Vault/App token generation is unavailable. Defaulting to '' allows the caller
63+ # to fall back gracefully on standard runs without failing secret evaluation.
64+ override-token : " ${{ secrets.RENOVATE_FORK_GH_TOKEN || '' }}"
You can’t perform that action at this time.
0 commit comments