Skip to content

Commit 90ce223

Browse files
committed
Merge branch 'main' into dev
2 parents 971ed6c + 3ff20a5 commit 90ce223

File tree

1,255 files changed

+47819
-41032
lines changed

Some content is hidden

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

1,255 files changed

+47819
-41032
lines changed

.angular-github/actions/deploy-docs-site/lib/main.mts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {context} from '@actions/github';
33
import {deployToFirebase, setupRedirect} from './deploy.mjs';
44
import {getDeployments} from './deployments.mjs';
55
import {generateSitemap} from './sitemap.mjs';
6-
import {AuthenticatedGitClient, GithubConfig, setConfig} from '@angular/ng-dev';
6+
import {assertValidGithubConfig, AuthenticatedGitClient, getConfig} from '@angular/ng-dev';
77
import {githubReleaseTrainReadToken} from './credential.mjs';
88
import {spawnSync} from 'child_process';
99
import {cp, mkdtemp} from 'fs/promises';
@@ -13,13 +13,7 @@ import {join} from 'path';
1313
const refMatcher = /refs\/heads\/(.*)/;
1414

1515
async function deployDocs() {
16-
setConfig({
17-
github: {
18-
mainBranchName: 'main',
19-
name: 'angular',
20-
owner: 'angular',
21-
} as GithubConfig,
22-
});
16+
getConfig([assertValidGithubConfig]);
2317

2418
AuthenticatedGitClient.configure(githubReleaseTrainReadToken);
2519

.angular-github/actions/deploy-docs-site/main.js

Lines changed: 1083 additions & 260 deletions
Large diffs are not rendered by default.

.angular-github/actions/saucelabs-legacy/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ runs:
55
using: 'composite'
66
steps:
77
- name: Setup Bazel
8-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
8+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
99
- name: Setup Saucelabs Variables
10-
uses: angular/dev-infra/github-actions/saucelabs@f47684669736e28fd77eab64e65b2952c8a948ee
10+
uses: angular/dev-infra/github-actions/saucelabs@3a9e55f990cc60290af394a388368199dfabc805
1111
- name: Starting Saucelabs tunnel service
1212
shell: bash
1313
run: ./tools/saucelabs/sauce-service.sh run &

.angular-github/workflows/adev-preview-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ jobs:
2121
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'adev: preview'))
2222
steps:
2323
- name: Initialize environment
24-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
24+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
2525
- name: Setup Bazel
26-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
26+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
2727
- name: Setup Bazel RBE
28-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
28+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
2929
- name: Install node modules
3030
run: pnpm install --frozen-lockfile
3131
- name: Build adev
3232
# `snapshot-build` config is used to stamp the exact version with sha in the footer.
3333
run: pnpm bazel build //adev:build.production --config=snapshot-build
34-
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@f47684669736e28fd77eab64e65b2952c8a948ee
34+
- uses: angular/dev-infra/github-actions/previews/pack-and-upload-artifact@3a9e55f990cc60290af394a388368199dfabc805
3535
with:
3636
workflow-artifact-name: 'adev-preview'
3737
pull-number: '${{github.event.pull_request.number}}'

.angular-github/workflows/adev-preview-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
if: ${{ github.event.workflow_run.conclusion == 'success' }}
3131
steps:
32-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
32+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
3333
with:
3434
token: '${{secrets.GITHUB_TOKEN}}'
3535

@@ -40,7 +40,7 @@ jobs:
4040
npx -y firebase-tools@latest target:clear --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs
4141
npx -y firebase-tools@latest target:apply --config adev/firebase.json --project ${{env.PREVIEW_PROJECT}} hosting angular-docs ${{env.PREVIEW_SITE}}
4242
43-
- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@f47684669736e28fd77eab64e65b2952c8a948ee
43+
- uses: angular/dev-infra/github-actions/previews/upload-artifacts-to-firebase@3a9e55f990cc60290af394a388368199dfabc805
4444
with:
4545
github-token: '${{secrets.GITHUB_TOKEN}}'
4646
workflow-artifact-name: 'adev-preview'

.angular-github/workflows/assistant-to-the-branch-manager.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ permissions:
1212
jobs:
1313
assistant_to_the_branch_manager:
1414
runs-on: ubuntu-latest
15+
if: github.event.repository.fork == false
1516
steps:
16-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
17+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
1718
with:
1819
persist-credentials: false
19-
- uses: angular/dev-infra/github-actions/branch-manager@f47684669736e28fd77eab64e65b2952c8a948ee
20+
- uses: angular/dev-infra/github-actions/branch-manager@3a9e55f990cc60290af394a388368199dfabc805
2021
with:
2122
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}

.angular-github/workflows/benchmark-compare.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: alessbell/pull-request-comment-branch@aad01d65d6982b8eacabed5e9a684cd8ceb98da6 # v1.1
2929
id: comment-branch
3030

31-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
31+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3232
with:
3333
# Specify repository as the PR branch might be from a fork.
3434
repository: ${{steps.comment-branch.outputs.head_owner}}/${{steps.comment-branch.outputs.head_repo}}
@@ -38,7 +38,7 @@ jobs:
3838

3939
- run: pnpm install --frozen-lockfile
4040

41-
- uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
41+
- uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
4242
with:
4343
bazelrc: ./.bazelrc.user
4444

.angular-github/workflows/ci.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Initialize environment
24-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
24+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
2525
- name: Install node modules
2626
run: pnpm install --frozen-lockfile
2727
- name: Check code lint
@@ -39,13 +39,13 @@ jobs:
3939
runs-on: ubuntu-latest
4040
steps:
4141
- name: Initialize environment
42-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
42+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
4343
with:
4444
disable-package-manager-cache: true
4545
- name: Setup Bazel
46-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
46+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
4747
- name: Setup Bazel RBE
48-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
48+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
4949
with:
5050
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
5151
- name: Install node modules
@@ -55,7 +55,7 @@ jobs:
5555
- name: Test build
5656
run: pnpm devtools:build:chrome
5757
- name: Cypress run
58-
uses: cypress-io/github-action@7ef72e250a9e564efb4ed4c2433971ada4cc38b4 # v6.10.4
58+
uses: cypress-io/github-action@2ad32e649e4db26c07674ebae31a297601dbcbaf # v6.10.8
5959
with:
6060
command: pnpm devtools:test:e2e
6161
start: pnpm bazel run //devtools/src:devserver
@@ -67,11 +67,11 @@ jobs:
6767
runs-on: ubuntu-latest
6868
steps:
6969
- name: Initialize environment
70-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
70+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
7171
- name: Setup Bazel
72-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
72+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
7373
- name: Setup Bazel Remote Caching
74-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
74+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
7575
with:
7676
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
7777
- name: Install node modules
@@ -83,11 +83,11 @@ jobs:
8383
runs-on: ubuntu-latest
8484
steps:
8585
- name: Initialize environment
86-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
86+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
8787
- name: Setup Bazel
88-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
88+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
8989
- name: Setup Bazel Remote Caching
90-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
90+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
9191
with:
9292
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
9393
- name: Install node modules
@@ -100,11 +100,11 @@ jobs:
100100
labels: ubuntu-latest
101101
steps:
102102
- name: Initialize environment
103-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
103+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
104104
- name: Setup Bazel
105-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
105+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
106106
- name: Setup Bazel RBE
107-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
107+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
108108
with:
109109
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
110110
- name: Install node modules
@@ -119,11 +119,11 @@ jobs:
119119
labels: ubuntu-latest
120120
steps:
121121
- name: Initialize environment
122-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
122+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
123123
- name: Setup Bazel
124-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
124+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
125125
- name: Setup Bazel RBE
126-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
126+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
127127
with:
128128
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
129129
- name: Install node modules
@@ -136,11 +136,11 @@ jobs:
136136
labels: ubuntu-latest
137137
steps:
138138
- name: Initialize environment
139-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
139+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
140140
- name: Setup Bazel
141-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
141+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
142142
- name: Setup Bazel RBE
143-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
143+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
144144
- name: Install node modules
145145
run: pnpm install --frozen-lockfile
146146
- run: echo "https://${{secrets.SNAPSHOT_BUILDS_GITHUB_TOKEN}}:@github.com" > ${HOME}/.git_credentials
@@ -152,11 +152,11 @@ jobs:
152152
labels: ubuntu-latest
153153
steps:
154154
- name: Initialize environment
155-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
155+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
156156
- name: Setup Bazel
157-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
157+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
158158
- name: Setup Bazel RBE
159-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
159+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
160160
with:
161161
google_credential: ${{ secrets.RBE_TRUSTED_BUILDS_USER }}
162162
- name: Install node modules
@@ -206,11 +206,11 @@ jobs:
206206
runs-on: ubuntu-latest-8core
207207
steps:
208208
- name: Initialize environment
209-
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@f47684669736e28fd77eab64e65b2952c8a948ee
209+
uses: angular/dev-infra/github-actions/npm/checkout-and-setup-node@3a9e55f990cc60290af394a388368199dfabc805
210210
- name: Setup Bazel
211-
uses: angular/dev-infra/github-actions/bazel/setup@f47684669736e28fd77eab64e65b2952c8a948ee
211+
uses: angular/dev-infra/github-actions/bazel/setup@3a9e55f990cc60290af394a388368199dfabc805
212212
- name: Setup Bazel RBE
213-
uses: angular/dev-infra/github-actions/bazel/configure-remote@f47684669736e28fd77eab64e65b2952c8a948ee
213+
uses: angular/dev-infra/github-actions/bazel/configure-remote@3a9e55f990cc60290af394a388368199dfabc805
214214
- name: Install node modules
215215
run: pnpm install --frozen-lockfile
216216
- name: Build adev

.angular-github/workflows/cross-repo-adev-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout the repository
27-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
27+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2828
with:
2929
# Setting `persist-credentials: false` prevents the github-action account from being the
3030
# account that is attempted to be used for authentication, instead the remote is set to
@@ -37,7 +37,7 @@ jobs:
3737
ANGULAR_READONLY_GITHUB_TOKEN: ${{ secrets.READONLY_GITHUB_TOKEN }}
3838

3939
- name: Create a PR (if necessary)
40-
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
40+
uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
4141
with:
4242
token: ${{ secrets.ANGULAR_ROBOT_ACCESS_TOKEN }}
4343
push-to-fork: 'angular-robot/angular'

.angular-github/workflows/dev-infra.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
labels:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
16-
- uses: angular/dev-infra/github-actions/pull-request-labeling@f47684669736e28fd77eab64e65b2952c8a948ee
15+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
16+
- uses: angular/dev-infra/github-actions/pull-request-labeling@3a9e55f990cc60290af394a388368199dfabc805
1717
with:
1818
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}
1919
post_approval_changes:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
23-
- uses: angular/dev-infra/github-actions/post-approval-changes@f47684669736e28fd77eab64e65b2952c8a948ee
22+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
23+
- uses: angular/dev-infra/github-actions/post-approval-changes@3a9e55f990cc60290af394a388368199dfabc805
2424
with:
2525
angular-robot-key: ${{ secrets.ANGULAR_ROBOT_PRIVATE_KEY }}

0 commit comments

Comments
 (0)