File tree Expand file tree Collapse file tree 3 files changed +587
-30
lines changed Expand file tree Collapse file tree 3 files changed +587
-30
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
8
- permissions : {}
8
+ permissions :
9
+ contents : ' read'
10
+ id-token : ' write'
9
11
10
12
defaults :
11
13
run :
39
41
uses : angular/dev-infra/github-actions/bazel/setup@53fb7c37cf14343f14ed79e2fefbbb2489ead4ee
40
42
- name : Install node modules
41
43
run : yarn install --immutable
42
- - run : yarn ng-dev perf workflows --name ${{ matrix.workflow }}
44
+ # We utilize the google-github-actions/auth action to allow us to get an active credential using workflow
45
+ # identity federation. This allows us to request short lived credentials on demand, rather than storing
46
+ # credentials in secrets long term. More information can be found at:
47
+ # https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform
48
+ - uses : ' google-github-actions/auth@v2'
49
+ with :
50
+ project_id : ' internal-200822'
51
+ workload_identity_provider : ' projects/823469418460/locations/global/workloadIdentityPools/measurables-tracking/providers/angular'
52
+ service_account :
' [email protected] '
53
+ - run : yarn ng-dev perf workflows --name ${{ matrix.workflow }} --commit-sha ${{github.sha}}
Original file line number Diff line number Diff line change 63
63
"@angular/forms" : " 19.0.0" ,
64
64
"@angular/localize" : " 19.0.0" ,
65
65
"@angular/material" : " 19.0.0" ,
66
- "@angular/ng-dev" : " https://github.com/angular/dev-infra-private-ng-dev-builds.git#0004779f2460c3b030b056e9f4f2c5e921e11039 " ,
66
+ "@angular/ng-dev" : " https://github.com/angular/dev-infra-private-ng-dev-builds.git#0692d4d0707f3a40f862e761eaf0be3b693326df " ,
67
67
"@angular/platform-browser" : " 19.0.0" ,
68
68
"@angular/platform-browser-dynamic" : " 19.0.0" ,
69
69
"@angular/platform-server" : " 19.0.0" ,
You can’t perform that action at this time.
0 commit comments