Skip to content

Commit

Permalink
Update token-permission to read
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
liuw1 authored and jyao1 committed Jul 11, 2024
1 parent 5e2416b commit d2ec464
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
- cron: "0 0 * * 1"

permissions:
contents: read-all
contents: read

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
paths-ignore:
- "**.md"
permissions:
contents: read-all
contents: read

jobs:
cargo-deny:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
CC: clang

permissions:
contents: read-all
contents: read

jobs:
clippy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
TOOLCHAIN_PROFILE: minimal

permissions:
contents: read-all
contents: read

jobs:
integration:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
permissions:
contents: read-all
contents: read

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
branches: [ "main" ]

# Declare default permissions as read only.
permissions: read-all
permissions: read

jobs:
analysis:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
permissions:
contents: read-all
contents: read

on:
push:
Expand Down

0 comments on commit d2ec464

Please sign in to comment.