Skip to content

Commit

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

permissions: read-all
permissions:
contents: read
statuses: write

jobs:
analyze:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ name: Lint Code Base
on: # yamllint disable-line rule:truthy
pull_request:

permissions: read-all
permissions:
contents: read
statuses: write

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

0 comments on commit 423ba25

Please sign in to comment.