Skip to content

Commit

Permalink
restrict linter permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
suhancz committed May 15, 2024
1 parent 30dfc06 commit cd7e3c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/devskim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

name: DevSkim

permissions: read-all

on:
push:
branches: [ "main" ]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ name: Lint Code Base
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
#

permissions: read-all

#############################
# Start the job on all push #
#############################
Expand Down

0 comments on commit cd7e3c3

Please sign in to comment.