File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ defaults:
32
32
shell : bash
33
33
jobs :
34
34
pr :
35
+ permissions :
36
+ actions : write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
35
37
name : PR
36
38
env :
37
39
CI_JOB_NAME : " ${{ matrix.name }}"
@@ -144,6 +146,8 @@ jobs:
144
146
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
145
147
if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
146
148
auto :
149
+ permissions :
150
+ actions : write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
147
151
name : auto
148
152
env :
149
153
CI_JOB_NAME : " ${{ matrix.name }}"
@@ -549,6 +553,8 @@ jobs:
549
553
AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
550
554
if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
551
555
try :
556
+ permissions :
557
+ actions : write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
552
558
name : try
553
559
env :
554
560
CI_JOB_NAME : " ${{ matrix.name }}"
Original file line number Diff line number Diff line change @@ -276,6 +276,8 @@ defaults:
276
276
277
277
jobs :
278
278
pr :
279
+ permissions :
280
+ actions : write
279
281
<< : *base-ci-job
280
282
name : PR
281
283
env :
@@ -296,6 +298,8 @@ jobs:
296
298
<< : *job-linux-xl
297
299
298
300
auto :
301
+ permissions :
302
+ actions : write
299
303
<< : *base-ci-job
300
304
name : auto
301
305
env :
@@ -722,6 +726,8 @@ jobs:
722
726
<< : *job-windows-xl
723
727
724
728
try :
729
+ permissions :
730
+ actions : write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
725
731
<< : *base-ci-job
726
732
name : try
727
733
env :
You can’t perform that action at this time.
0 commit comments