Skip to content

Commit

Permalink
fixed the token-pemission issue
Browse files Browse the repository at this point in the history
Signed-off-by: harshitasao <[email protected]>
  • Loading branch information
harshitasao authored and ashutosh-narkar committed Aug 19, 2024
1 parent 9964aee commit 291825e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 15,9 @@ on:
push:
branches: [ main, release-* ]

permissions:
contents: read

jobs:
analyze:
name: Analyze
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 4,9 @@ on:
schedule:
- cron: '0 8 * * 0-4' # Sun-Thu, at 8:00 UTC


permissions:
contents: read

jobs:
race-detector:
name: Go Race Detector
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/post-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 5,13 @@ on:
branches:
- main

permissions:
contents: read

jobs:
generate:
permissions:
contents: write # for Git to git push
name: Sync Generated Code and Docs
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 291825e

Please sign in to comment.