Skip to content

Commit

Permalink
Add permissions to gitleaks github action
Browse files Browse the repository at this point in the history
  • Loading branch information
kgapos committed Jan 17, 2024
1 parent de19616 commit 4645e3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
push:
branches:
- 'main'

permissions:
contents: read # This is required for actions/checkout
pull-requests: write # This is required for pull request comments

jobs:
scan:
name: gitleaks
Expand Down

0 comments on commit 4645e3a

Please sign in to comment.