@@ -35,8 +35,6 @@ concurrency:
35
35
cancel-in-progress : true
36
36
jobs :
37
37
pr :
38
- permissions :
39
- actions : write
40
38
name : " PR - ${{ matrix.name }}"
41
39
env :
42
40
CI_JOB_NAME : " ${{ matrix.name }}"
87
85
- name : ensure the channel matches the target branch
88
86
run : src/ci/scripts/verify-channel.sh
89
87
if : success() && !env.SKIP_JOB
90
- - name : configure GitHub Actions to kill the build when outdated
91
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
92
- with :
93
- github_token : " ${{ secrets.github_token }}"
94
- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && github.ref != 'refs/heads/try-perf'"
95
88
- name : collect CPU statistics
96
89
run : src/ci/scripts/collect-cpu-stats.sh
97
90
if : success() && !env.SKIP_JOB
@@ -165,8 +158,6 @@ jobs:
165
158
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
166
159
if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
167
160
auto :
168
- permissions :
169
- actions : write
170
161
name : " auto - ${{ matrix.name }}"
171
162
env :
172
163
CI_JOB_NAME : " ${{ matrix.name }}"
@@ -499,11 +490,6 @@ jobs:
499
490
- name : ensure the channel matches the target branch
500
491
run : src/ci/scripts/verify-channel.sh
501
492
if : success() && !env.SKIP_JOB
502
- - name : configure GitHub Actions to kill the build when outdated
503
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
504
- with :
505
- github_token : " ${{ secrets.github_token }}"
506
- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && github.ref != 'refs/heads/try-perf'"
507
493
- name : collect CPU statistics
508
494
run : src/ci/scripts/collect-cpu-stats.sh
509
495
if : success() && !env.SKIP_JOB
@@ -577,8 +563,6 @@ jobs:
577
563
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
578
564
if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
579
565
try :
580
- permissions :
581
- actions : write
582
566
name : " try - ${{ matrix.name }}"
583
567
env :
584
568
DIST_TRY_BUILD : 1
@@ -626,11 +610,6 @@ jobs:
626
610
- name : ensure the channel matches the target branch
627
611
run : src/ci/scripts/verify-channel.sh
628
612
if : success() && !env.SKIP_JOB
629
- - name : configure GitHub Actions to kill the build when outdated
630
- uses : rust-lang/simpleinfra/github-actions/cancel-outdated-builds@master
631
- with :
632
- github_token : " ${{ secrets.github_token }}"
633
- if : " success() && !env.SKIP_JOB && github.ref != 'refs/heads/try' && github.ref != 'refs/heads/try-perf'"
634
613
- name : collect CPU statistics
635
614
run : src/ci/scripts/collect-cpu-stats.sh
636
615
if : success() && !env.SKIP_JOB
0 commit comments