Skip to content

Commit 164a8a4

Browse files
committed
ci: remove unneeded permissions.contents keys
(backport <#3891>) (cherry picked from commit 4406ec2)
1 parent 13507bf commit 164a8a4

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.github/workflows/full_ci.yml

-26
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88

99
jobs:
1010
docker_linux_tier1:
11-
permissions:
12-
contents: read # to fetch code (actions/checkout)
13-
1411
name: Docker Linux Tier1
1512
runs-on: ubuntu-22.04
1613
strategy:
@@ -27,9 +24,6 @@ jobs:
2724
run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
2825

2926
macos:
30-
permissions:
31-
contents: read # to fetch code (actions/checkout)
32-
3327
name: macOS
3428
runs-on: macos-13
3529
strategy:
@@ -45,9 +39,6 @@ jobs:
4539
run: LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
4640

4741
windows:
48-
permissions:
49-
contents: read # to fetch code (actions/checkout)
50-
5142
name: Windows
5243
runs-on: windows-2022
5344
env:
@@ -79,9 +70,6 @@ jobs:
7970
shell: bash
8071

8172
style_check:
82-
permissions:
83-
contents: read # to fetch code (actions/checkout)
84-
8573
name: Style check
8674
runs-on: ubuntu-22.04
8775
steps:
@@ -92,9 +80,6 @@ jobs:
9280
run: sh ci/style.sh
9381

9482
docker_linux_tier2:
95-
permissions:
96-
contents: read # to fetch code (actions/checkout)
97-
9883
name: Docker Linux Tier2
9984
needs: [docker_linux_tier1, style_check]
10085
runs-on: ubuntu-22.04
@@ -135,9 +120,6 @@ jobs:
135120
run: LIBC_CI=1 sh ./ci/run-docker.sh ${{ matrix.target }}
136121

137122
build_channels_linux:
138-
permissions:
139-
contents: read # to fetch code (actions/checkout)
140-
141123
name: Build Channels Linux
142124
needs: docker_linux_tier2
143125
runs-on: ubuntu-22.04
@@ -166,9 +148,6 @@ jobs:
166148
run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
167149

168150
build_channels_macos:
169-
permissions:
170-
contents: read # to fetch code (actions/checkout)
171-
172151
name: Build Channels macOS
173152
needs: macos
174153
env:
@@ -190,9 +169,6 @@ jobs:
190169
run: LIBC_CI=1 TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/build.sh
191170

192171
build_channels_windows:
193-
permissions:
194-
contents: read # to fetch code (actions/checkout)
195-
196172
name: Build Channels Windows
197173
runs-on: windows-2022
198174
env:
@@ -216,8 +192,6 @@ jobs:
216192
shell: bash
217193

218194
check_cfg:
219-
permissions:
220-
contents: read # to fetch code (actions/checkout)
221195
name: "Check #[cfg]s"
222196
runs-on: ubuntu-22.04
223197
steps:

0 commit comments

Comments
 (0)