File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ defaults:
3232 shell : bash
3333jobs :
3434 pr :
35+ permissions :
36+ actions : write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
3537 name : PR
3638 env :
3739 CI_JOB_NAME : " ${{ matrix.name }}"
@@ -144,6 +146,8 @@ jobs:
144146 AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
145147 if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
146148 auto :
149+ permissions :
150+ actions : write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
147151 name : auto
148152 env :
149153 CI_JOB_NAME : " ${{ matrix.name }}"
@@ -549,6 +553,8 @@ jobs:
549553 AWS_SECRET_ACCESS_KEY : " ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.ARTIFACTS_AWS_ACCESS_KEY_ID)] }}"
550554 if : " success() && !env.SKIP_JOB && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1')"
551555 try :
556+ permissions :
557+ actions : write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
552558 name : try
553559 env :
554560 CI_JOB_NAME : " ${{ matrix.name }}"
Original file line number Diff line number Diff line change @@ -276,6 +276,8 @@ defaults:
276276
277277jobs :
278278 pr :
279+ permissions :
280+ actions : write
279281 << : *base-ci-job
280282 name : PR
281283 env :
@@ -296,6 +298,8 @@ jobs:
296298 << : *job-linux-xl
297299
298300 auto :
301+ permissions :
302+ actions : write
299303 << : *base-ci-job
300304 name : auto
301305 env :
@@ -722,6 +726,8 @@ jobs:
722726 << : *job-windows-xl
723727
724728 try :
729+ permissions :
730+ actions : write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
725731 << : *base-ci-job
726732 name : try
727733 env :
You can’t perform that action at this time.
0 commit comments