Skip to content

Commit 685fd92

Browse files
committed
ci:correct the permission of workflows
using read-all access for all of the available scopes Signed-off-by: Carl Zhang <[email protected]>
1 parent 4e4e2f0 commit 685fd92

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Diff for: .github/workflows/freebsd.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- '.github/workflows/**'
1111
- '!.github/workflows/freebsd.yml'
1212

13-
permissions: read
13+
permissions: read-all
1414

1515
jobs:
1616
freebsd:

Diff for: .github/workflows/ubuntu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
- '.github/workflows/**'
1111
- '!.github/workflows/ubuntu.yml'
1212

13-
permissions: read
13+
permissions: read-all
1414

1515
jobs:
1616
ubuntu-20-04:

Diff for: .github/workflows/windows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
- '!.github/workflows/windows.yml'
1313
- '!.github/workflows/EnterDevShell.ps1'
1414

15-
permissions: read
15+
permissions: read-all
1616

1717
jobs:
1818
windows-msvc:

0 commit comments

Comments
 (0)