Skip to content

Commit

Permalink
Add minimum GitHub token permissions for workflow (#7011)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Sharma <[email protected]>

Signed-off-by: Varun Sharma <[email protected]>
  • Loading branch information
varunsh-coder authored Sep 14, 2022
1 parent 655211e commit ace8028
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
- '**.c'
- '**.cpp'

permissions:
contents: read

jobs:
check_clang_format:
name: Check clang-format
Expand Down

0 comments on commit ace8028

Please sign in to comment.