Skip to content

Commit

Permalink
fix: add top-level read permission (#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
binbin-li authored Apr 26, 2024
1 parent 3d40b97 commit ea5604a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/cache-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
types:
- closed

permissions:
contents: read

jobs:
cleanup:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-aks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: e2e-aks

permissions:
contents: read

on:
workflow_call:
inputs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: e2e-cli
on:
workflow_call:

permissions:
contents: read

jobs:
check-license:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-k8s.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: e2e-k8s

permissions:
contents: read

on:
workflow_call:
inputs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/quick-start.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: quick-start

permissions:
contents: read

on:
pull_request_target:
types: [labeled]
Expand Down

0 comments on commit ea5604a

Please sign in to comment.