Skip to content

Commit 36b7540

Browse files
committed
ci: use a matrix to split renovate across multiple runners (#2507)
PR Close #2507
1 parent e9bb03e commit 36b7540

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/ng-renovate/runner-config.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,6 @@ module.exports = {
99
onboarding: false,
1010
persistRepoData: true,
1111
allowedPostUpgradeCommands: ['.', '^yarn install$', '^yarn update-generated-files$'],
12-
repositories: [
13-
'angular/angular',
14-
'angular/dev-infra',
15-
'angular/components',
16-
'angular/angular-cli',
17-
'angular/vscode-ng-language-service',
18-
'angular/.github',
19-
],
2012
hostRules: [
2113
{
2214
matchHost: 'api.github.com',

.github/workflows/ng-renovate.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ permissions:
1313

1414
jobs:
1515
renovate:
16+
strategy:
17+
matrix:
18+
REPOSITORY:
19+
- angular/angular
20+
- angular/dev-infra
21+
- angular/components
22+
- angular/angular-cli
23+
- angular/vscode-ng-language-service
24+
- angular/.github
1625
runs-on: ubuntu-24.04
1726
steps:
1827
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -29,3 +38,4 @@ jobs:
2938
RENOVATE_FORK_TOKEN: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }}
3039
GITHUB_COM_TOKEN: ${{ secrets.NG_RENOVATE_USER_ACCESS_TOKEN }}
3140
RENOVATE_CONFIG_FILE: .github/ng-renovate/runner-config.js
41+
RENOVATE_REPOSITORIES: ${{ matrix.REPOSITORY }}

0 commit comments

Comments
 (0)