Skip to content

Commit

Permalink
ci:correct the permission of workflows
Browse files Browse the repository at this point in the history
using read-all access for all of the available scopes

Signed-off-by: Carl Zhang <[email protected]>
  • Loading branch information
XinfengZhang committed Jun 6, 2024
1 parent 4e4e2f0 commit 685fd92
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- '.github/workflows/**'
- '!.github/workflows/freebsd.yml'

permissions: read
permissions: read-all

jobs:
freebsd:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- '.github/workflows/**'
- '!.github/workflows/ubuntu.yml'

permissions: read
permissions: read-all

jobs:
ubuntu-20-04:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- '!.github/workflows/windows.yml'
- '!.github/workflows/EnterDevShell.ps1'

permissions: read
permissions: read-all

jobs:
windows-msvc:
Expand Down

0 comments on commit 685fd92

Please sign in to comment.