File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 9
9
workflow_dispatch :
10
10
11
11
permissions :
12
- actions : none
13
- checks : none
14
12
contents : read
15
- deployments : none
16
- issues : none
17
- packages : write
18
- pull-requests : none
19
- repository-projects : none
20
- security-events : none
21
- statuses : none
22
13
23
14
# Cancel in-progress runs for pull requests when developers push
24
15
# additional changes
@@ -821,6 +812,8 @@ jobs:
821
812
needs : changes
822
813
if : github.ref == 'refs/heads/main' && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
823
814
runs-on : ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
815
+ permissions :
816
+ packages : write # Needed to push images to ghcr.io
824
817
env :
825
818
DOCKER_CLI_EXPERIMENTAL : " enabled"
826
819
outputs :
Original file line number Diff line number Diff line change 16
16
# For jobs that don't run on draft PRs.
17
17
- ready_for_review
18
18
19
+ permissions :
20
+ contents : read
21
+
19
22
# Only run one instance per PR to ensure in-order execution.
20
23
concurrency : pr-${{ github.ref }}
21
24
Original file line number Diff line number Diff line change 8
8
description : " PR number"
9
9
required : true
10
10
11
+ permissions :
12
+ contents : read
13
+
11
14
jobs :
12
15
cleanup :
13
16
runs-on : " ubuntu-latest"
You can’t perform that action at this time.
0 commit comments