Skip to content

Commit 4d258cc

Browse files
update renovate
1 parent f2504e8 commit 4d258cc

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

.github/workflows/ci-renovate.yml

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
1-
# .github/workflows/ci-main.yml
2-
3-
name: CI - Main
1+
# .github/workflows/ci-renovate.yml
42

3+
name: CI - Renovate Branches
54
on:
6-
push:
7-
branches: [main]
8-
pull_request:
9-
branches: [main]
10-
5+
push:
6+
branches:
7+
- 'renovate/**' # adjust if you changed Renovate's branchPrefix
118
concurrency:
12-
group: ci-main-${{ github.ref }}
13-
cancel-in-progress: true
14-
9+
group: ci-renovate-${{ github.ref }}
10+
cancel-in-progress: true
1511
jobs:
16-
build-and-test:
17-
uses: ./.github/workflows/build-and-test.yml
18-
with:
19-
java-version: '21'
20-
python-version: '3.11'
12+
build-and-test:
13+
uses: ./.github/workflows/build-and-test.yml
14+
with:
15+
java-version: '21'
16+
python-version: '3.11'

.github/workflows/renovate.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,17 @@ jobs:
2929
issues: write
3030
security-events: read
3131
steps:
32+
# Checks out the repository under $GITHUB_WORKSPACE
33+
- uses: actions/checkout@v5
34+
with:
35+
fetch-depth: 0
36+
3237
# Runs the Renovate GitHub Action
3338
- name: Renovate
3439
uses: renovatebot/[email protected]
3540
with:
3641
token: ${{ secrets.GITHUB_TOKEN }}
3742
configurationFile: .github/renovate.json
3843
renovate-version: 43 # pin to a major; bump intentionally when ready
44+
env:
45+
RENOVATE_REPOSITORIES: ${{ github.repository }} # scan current repo

0 commit comments

Comments
 (0)