Skip to content

Commit 4406ec2

Browse files
committed
ci: remove unneeded permissions.contents keys
1 parent bba2395 commit 4406ec2

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
@@ -7,9 +7,6 @@ on:
77

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

2825
macos:
29-
permissions:
30-
contents: read # to fetch code (actions/checkout)
31-
3226
name: macOS
3327
runs-on: macos-14
3428
strategy:
@@ -44,9 +38,6 @@ jobs:
4438
run: LIBC_CI=1 sh ./ci/run.sh ${{ matrix.target }}
4539

4640
windows:
47-
permissions:
48-
contents: read # to fetch code (actions/checkout)
49-
5041
name: Windows
5142
runs-on: windows-2022
5243
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
@@ -160,9 +142,6 @@ jobs:
160142
run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
161143

162144
build_channels_macos:
163-
permissions:
164-
contents: read # to fetch code (actions/checkout)
165-
166145
name: Build Channels macOS
167146
needs: macos
168147
env:
@@ -185,9 +164,6 @@ jobs:
185164
run: LIBC_CI=1 TOOLCHAIN=${{ matrix.target.toolchain }} sh ./ci/build.sh
186165

187166
build_channels_windows:
188-
permissions:
189-
contents: read # to fetch code (actions/checkout)
190-
191167
name: Build Channels Windows
192168
runs-on: windows-2022
193169
env:
@@ -208,8 +184,6 @@ jobs:
208184
shell: bash
209185

210186
check_cfg:
211-
permissions:
212-
contents: read # to fetch code (actions/checkout)
213187
name: "Check #[cfg]s"
214188
runs-on: ubuntu-22.04
215189
steps:

0 commit comments

Comments
 (0)