Skip to content

Commit

Permalink
fix: read permissions only on actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzzerd committed May 7, 2024
1 parent d0153b5 commit eaf8fac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on: # yamllint disable-line rule:truthy
# The branches below must be a subset of the branches above
branches: [master]

permissions: read-all

jobs:
analyze:
name: Analyze
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on: # yamllint disable-line rule:truthy
branches:
- master

permissions: read-all

env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ name: Lint Code Base
on: # yamllint disable-line rule:truthy
pull_request:

permissions: read-all

###############
# Set the Job #
###############
Expand Down

0 comments on commit eaf8fac

Please sign in to comment.