File tree Expand file tree Collapse file tree 3 files changed +55
-23
lines changed
Expand file tree Collapse file tree 3 files changed +55
-23
lines changed Original file line number Diff line number Diff line change 5353 ]
5454 },
5555 {
56- "description" : " Always open PRs immediately for Renovate GitHub Action updates" ,
56+ "description" : " Always open PRs immediately and prioritize Renovate GitHub Action updates" ,
5757 "matchManagers" : [" github-actions" ],
58- "matchPackageNames" : [" renovatebot/github-action" ],
59- "prCreation" : " immediate" ,
60- "stabilityDays" : 0 ,
61- "minimumReleaseAge" : " 0 days" ,
62- "schedule" : [" at any time" ]
63- }
58+ "matchPackageNames" : [" renovatebot/github-action" ],
59+ "prCreation" : " immediate" ,
60+ "prPriority" : 100 ,
61+ "stabilityDays" : 0 ,
62+ "minimumReleaseAge" : " 0 days" ,
63+ "schedule" : [" at any time" ]
64+ },
65+ {
66+ "description" : " Automerge safe GitHub Actions patch updates" ,
67+ "matchManagers" : [" github-actions" ],
68+ "matchUpdateTypes" : [" patch" ],
69+ "automerge" : true ,
70+ "automergeType" : " pr"
71+ },
72+ {
73+ "description" : " Require dashboard approval for major updates" ,
74+ "matchUpdateTypes" : [" major" ],
75+ "dependencyDashboardApproval" : true
76+ }
6477 ]
6578}
Original file line number Diff line number Diff line change 1+ # .github/workflows/ci-main.yml
2+
3+ name : CI - Main
4+
5+ on :
6+ push :
7+ branches : [main]
8+ pull_request :
9+ branches : [main]
10+
11+ concurrency :
12+ group : ci-main-${{ github.ref }}
13+ cancel-in-progress : true
14+
15+ jobs :
16+ build-and-test :
17+ uses : ./.github/workflows/build-and-test.yml
18+ with :
19+ java-version : ' 21'
20+ python-version : ' 3.11'
Original file line number Diff line number Diff line change 44
55name : Renovate
66
7- on :
7+ on :
88 # Allows you to run this workflow manually from the Actions tab
99 workflow_dispatch :
1010 # Runs the workflow on a schedule (e.g., every day at 2 AM)
1111 schedule :
1212 - cron : ' 0 2 * * *'
13+ push :
14+ paths :
15+ - .github/renovate.json
16+ - .github/workflows/renovate.yml
1317
1418jobs :
1519 renovate :
1620 runs-on : ubuntu-latest
21+ timeout-minutes : 30
22+ concurrency :
23+ group : renovate-${{ github.repository }}
24+ cancel-in-progress : true
1725 # 👇 Expanded permissions so Renovate can do everything it needs
1826 permissions :
19- contents : write # push branches, update files
20- pull-requests : write # open/update PRs
21- issues : write # create/update Dependency Dashboard issue
22- security-events : read # read Dependabot vulnerability alerts
27+ contents : write
28+ pull-requests : write
29+ issues : write
30+ security-events : read
2331 steps :
24- # Checks out the repository under $GITHUB_WORKSPACE
25- - uses : actions/checkout@v5
26-
2732 # Runs the Renovate GitHub Action
2833 - name : Renovate
2934 uses :
renovatebot/[email protected] 3035 with :
31- token : ${{ secrets.GITHUB_TOKEN }} # required to create PRs/issues
36+ token : ${{ secrets.GITHUB_TOKEN }}
3237 configurationFile : .github/renovate.json
33- env :
34- RENOVATE_REPOSITORIES : ${{ github.repository }} # scan current repo
35-
36- # Optional: run your build/test workflow after Renovate finishes
37- build_and_test :
38- needs : renovate
39- uses : ./.github/workflows/build-and-test.yml
38+ renovate-version : 43 # pin to a major; bump intentionally when ready
You can’t perform that action at this time.
0 commit comments