Skip to content

Commit

Permalink
Improve fossa action configuration
Browse files Browse the repository at this point in the history
Restrict action permissions and enumerate triggers.

Signed-off-by: Akshay Shah <[email protected]>
  • Loading branch information
akshayjshah committed Jun 25, 2024
1 parent 89ee2eb commit 89011e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/fossa.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
name: fossa
# Prevent writing to the repository using the CI token.
# Ref: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions
permissions:
pull-requests: read
on: [pull_request, push]
jobs:
fossa-scan:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 89011e2

Please sign in to comment.