Skip to content

Commit

Permalink
Fix token-perssion issue
Browse files Browse the repository at this point in the history
Signed-off-by: Min Xu <[email protected]>
  • Loading branch information
mxu9 authored and liuw1 committed Jul 2, 2024
1 parent 01fbc38 commit 3a5a523
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 3 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
contents: read-all

jobs:
analyze:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
pull_request:
paths-ignore:
- "**.md"
permissions:
contents: read-all

jobs:
cargo-deny:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ env:
AR: llvm-ar
CC: clang

permissions:
contents: read-all

jobs:
clippy:
name: 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
contents: read-all

jobs:
integration:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read-all

on:
push:
paths-ignore:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/oss-fuzz.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: oss-fuzz
on: [pull_request]
permissions: {}

permissions:
contents: read

jobs:
Fuzzing:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read-all

on:
push:
paths-ignore:
Expand Down

0 comments on commit 3a5a523

Please sign in to comment.