Skip to content

Commit

Permalink
feat: set permissions for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mutao-net committed Feb 21, 2024
1 parent 9379c60 commit eaa291d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/secrets-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Secrets Scan with Trivy
on:
pull_request:

permissions:
contents: read
pull-requests: write

jobs:
scan:
runs-on: ubuntu-latest
Expand Down

0 comments on commit eaa291d

Please sign in to comment.