Skip to content

Commit 1beecc0

Browse files
authored
Merge branch 'main' into docs/rclog
2 parents abf9eb2 + 970113c commit 1beecc0

158 files changed

Lines changed: 8732 additions & 6158 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM ghcr.io/containerbase/devcontainer:14.6.20
1+
FROM ghcr.io/containerbase/devcontainer:14.6.23

.github/actions/calculate-prefetch-matrix/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
3636
- name: Check cache miss for MacOS
3737
id: macos-cache
38-
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
38+
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3939
with:
4040
path: node_modules
4141
key: ${{ env.MACOS_KEY }}

.github/actions/setup-node/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
5454
- name: Restore `node_modules`
5555
id: node-modules-restore
56-
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
56+
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
5757
with:
5858
path: node_modules
5959
key: ${{ env.CACHE_KEY }}
@@ -72,7 +72,7 @@ runs:
7272
standalone: true
7373

7474
- name: Setup Node
75-
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
75+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
7676
with:
7777
node-version: ${{ inputs.node-version }}
7878

@@ -83,7 +83,7 @@ runs:
8383
8484
- name: Cache and restore `pnpm store`
8585
if: env.CACHE_HIT != 'true'
86-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
86+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
8787
with:
8888
path: ${{ env.PNPM_STORE }}
8989
key: |
@@ -97,7 +97,7 @@ runs:
9797
enableCrossOsArchive: true
9898

9999
- name: Install dependencies
100-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
100+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
101101
if: env.CACHE_HIT != 'true'
102102
with:
103103
timeout_minutes: 10
@@ -106,7 +106,7 @@ runs:
106106

107107
- name: Write `node_modules` cache
108108
if: inputs.save-cache == 'true' && env.CACHE_HIT != 'true'
109-
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
109+
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
110110
with:
111111
path: node_modules
112112
key: ${{ env.CACHE_KEY }}

.github/label-actions.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,3 +743,15 @@
743743
This improves the maintainers' time to triage, as key information is clearly indicated in the format we expect.
744744
745745
Thanks, the Renovate team
746+
747+
'auto:monorepos-preset':
748+
comment: >
749+
Hi there,
750+
751+
When adding a new monorepo to the `monorepo.json`, please note that:
752+
753+
- [ ] Any dependency update(s) from this monorepo will be upgraded in a single PR
754+
- [ ] If the dependencies are not all versioned identically (i.e. they're all at `16.0.5` and a release in one requires all being updated) this will lead to [Immortal PRs](https://docs.renovatebot.com/key-concepts/pull-requests/#immortal-prs)
755+
- This is not be the intended behaviour, and is generally not recommended by Renovate maintainers. We only accept it if the packages strictly need to be updated together.
756+
757+
It is worth both the author of the PR and the reviewer confirming that this is the intended behaviour.
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: 'Auto-apply `needs-discussion` label to externally raised Issues'
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
label-if-external:
12+
runs-on: ubuntu-latest
13+
if: github.repository == 'renovatebot/renovate'
14+
steps:
15+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
16+
with:
17+
script: |
18+
const author = context.payload.issue.user.login;
19+
20+
let roleName;
21+
try {
22+
const { data } = await github.rest.repos.getCollaboratorPermissionLevel({
23+
owner: context.repo.owner,
24+
repo: context.repo.repo,
25+
username: author,
26+
});
27+
roleName = data.role_name;
28+
} catch (err) {
29+
if (err.status === 404) {
30+
// User is not a collaborator — treat as no access
31+
roleName = 'none';
32+
} else {
33+
throw err;
34+
}
35+
}
36+
37+
// allow users who have a minimum of Triage access on the project to raise Issues without auto-labelling
38+
const triagePlus = ['admin', 'maintain', 'write', 'triage'];
39+
if (!triagePlus.includes(roleName)) {
40+
await github.rest.issues.addLabels({
41+
owner: context.repo.owner,
42+
repo: context.repo.repo,
43+
issue_number: context.payload.issue.number,
44+
labels: ['needs-discussion'],
45+
});
46+
core.info(`Added 'needs-discussion' label (author role: ${roleName})`);
47+
48+
// GitHub Actions adding the label won't trigger dessant/label-actions, so we need to do it manually
49+
await github.rest.issues.createComment({
50+
owner: context.repo.owner,
51+
repo: context.repo.repo,
52+
issue_number: context.payload.issue.number,
53+
body: `**Please create a GitHub Discussion instead of this issue.**\n\nIssues in this repository are for creation by Maintainers only - please create a GitHub Discussion instead.\nIf needed, a Renovate maintainer will create an Issue after your Discussion been triaged and confirmed.\n\nThis Issue will now be closed and locked. We may later batch-delete this issue. This way we keep Issues actionable, and free of duplicates or wrong bug reports.\n\nThanks, the Renovate team`,
54+
});
55+
56+
await github.rest.issues.update({
57+
owner: context.repo.owner,
58+
repo: context.repo.repo,
59+
issue_number: context.payload.issue.number,
60+
state: 'closed',
61+
state_reason: 'not_planned',
62+
});
63+
64+
core.info(`Commented and closed issue as not planned`);
65+
} else {
66+
core.info(`Skipping label — author has ${roleName} access`);
67+
}

.github/workflows/auto-pr.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@ on:
44
pull_request_target:
55
types:
66
- opened
7+
- ready_for_review
8+
- converted_to_draft
79

810
jobs:
911
review:
10-
if: github.event.action == 'opened' && !endsWith(github.event.pull_request.user.login, '[bot]')
12+
if: >-
13+
!endsWith(github.event.pull_request.user.login, '[bot]') &&
14+
(
15+
(github.event.action == 'opened' && !github.event.pull_request.draft) ||
16+
github.event.action == 'ready_for_review'
17+
)
1118
runs-on: ubuntu-24.04
1219
permissions:
1320
pull-requests: write
@@ -16,3 +23,31 @@ jobs:
1623
with:
1724
reviewers: ${{ vars.REVIEWERS }}
1825
max-num-of-reviewers: 2
26+
27+
remove-review:
28+
if: >-
29+
!endsWith(github.event.pull_request.user.login, '[bot]') &&
30+
github.event.action == 'converted_to_draft'
31+
runs-on: ubuntu-24.04
32+
permissions:
33+
pull-requests: write
34+
steps:
35+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
36+
with:
37+
script: |
38+
const { data: { users, teams } } = await github.rest.pulls.listRequestedReviewers({
39+
owner: context.repo.owner,
40+
repo: context.repo.repo,
41+
pull_number: context.payload.pull_request.number,
42+
});
43+
const reviewers = users.map(u => u.login);
44+
const team_reviewers = teams.map(t => t.slug);
45+
if (reviewers.length || team_reviewers.length) {
46+
await github.rest.pulls.removeRequestedReviewers({
47+
owner: context.repo.owner,
48+
repo: context.repo.repo,
49+
pull_number: context.payload.pull_request.number,
50+
reviewers,
51+
team_reviewers,
52+
});
53+
}

.github/workflows/build.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ jobs:
238238
os: ${{ runner.os }}
239239

240240
- name: Restore prettier cache
241-
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
241+
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
242242
with:
243243
path: .cache/prettier
244244
# we need to add the hash because prettier cache doesn't detect plugin changes
@@ -256,7 +256,7 @@ jobs:
256256
257257
- name: Save prettier cache
258258
if: github.event_name == 'push'
259-
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
259+
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
260260
with:
261261
path: .cache/prettier
262262
key: prettier-cache-${{ hashFiles('pnpm-lock.yaml', 'package.json') }}-${{ github.run_id }}-${{ github.run_attempt }}
@@ -313,7 +313,7 @@ jobs:
313313
os: ${{ runner.os }}
314314

315315
- name: Restore tsbuildinfo cache
316-
uses: actions/cache/restore@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
316+
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
317317
with:
318318
path: .cache/tsbuildinfo
319319
key: tsbuildinfo-${{ hashFiles('pnpm-lock.yaml') }}
@@ -324,7 +324,7 @@ jobs:
324324

325325
- name: Save tsbuildinfo cache
326326
if: github.event_name == 'push'
327-
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
327+
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
328328
with:
329329
path: .cache/tsbuildinfo
330330
key: tsbuildinfo-${{ hashFiles('pnpm-lock.yaml') }}-${{ github.run_id }}-${{ github.run_attempt }}
@@ -362,9 +362,9 @@ jobs:
362362
args: -color -ignore "invalid activity type \"destroyed\" for \"merge_group\" Webhook event. available types are \"checks_requested\""
363363

364364
- name: Run zizmor
365-
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
365+
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
366366
with:
367-
version: v1.23.1
367+
version: 1.24.1
368368

369369
test:
370370
needs: [setup, prefetch]
@@ -398,7 +398,7 @@ jobs:
398398
os: ${{ runner.os }}
399399

400400
- name: Cache vitest
401-
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
401+
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
402402
with:
403403
path: .cache/vitest
404404
key: |
@@ -812,7 +812,7 @@ jobs:
812812
- run: df -h
813813

814814
- name: docker-config
815-
uses: containerbase/internal-tools@c5b576e3871ea09b535647f7826a5869e98e560d # v4.5.19
815+
uses: containerbase/internal-tools@c5bbb40464e0ca4dd03b5bb10331eb331762e125 # v4.5.28
816816
with:
817817
command: docker-config
818818

@@ -914,7 +914,7 @@ jobs:
914914
curl --retry 5 --silent https://renovatebot.github.io/helm-charts/index.yaml -o tools/mkdocs/site/helm-charts/index.yaml
915915
916916
- name: Upload GitHub Pages artifact
917-
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
917+
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
918918
with:
919919
path: tools/mkdocs/site
920920

@@ -930,7 +930,7 @@ jobs:
930930
steps:
931931
- name: Post to Slack
932932
id: slack
933-
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
933+
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
934934
with:
935935
webhook: ${{ secrets.RENOVATEBOT_SLACK_WEBHOOK_MAIN_FAILURES }}
936936
webhook-type: incoming-webhook
@@ -950,7 +950,7 @@ jobs:
950950
steps:
951951
- name: Post to Slack
952952
id: slack
953-
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
953+
uses: slackapi/slack-github-action@af78098f536edbc4de71162a307590698245be95 # v3.0.1
954954
with:
955955
webhook: ${{ secrets.RENOVATEBOT_SLACK_WEBHOOK_MAIN_FAILURES }}
956956
webhook-type: incoming-webhook

.github/workflows/check-commit-messages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Check for 'Closes \#' in commit messages
19-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
19+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2020
with:
2121
script: |
2222
// Co-authored-by: Claude Sonnet 4.5 (GitHub Copilot)

.github/workflows/close-answered-discussions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
show-progress: false
2424

25-
- uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
25+
- uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
2626
with:
2727
script: |
2828
const script = require('.github/workflows/close-answered-discussions/script.js')

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
44+
uses: github/codeql-action/init@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
4545
with:
4646
languages: javascript
4747

@@ -51,7 +51,7 @@ jobs:
5151
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5252
# If this step fails, then you should remove it and run the build manually (see below)
5353
- name: Autobuild
54-
uses: github/codeql-action/autobuild@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
54+
uses: github/codeql-action/autobuild@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
5555

5656
# ℹ️ Command-line programs to run using the OS shell.
5757
# 📚 https://git.io/JvXDl
@@ -65,4 +65,4 @@ jobs:
6565
# make release
6666

6767
- name: Perform CodeQL Analysis
68-
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
68+
uses: github/codeql-action/analyze@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2

0 commit comments

Comments
 (0)