Skip to content

Commit 51e5082

Browse files
committed
Update gitleaks permissions
1 parent 738e365 commit 51e5082

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎template/.github/workflows/security.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
just audit
4848
gitleaks:
4949
runs-on: ubuntu-slim
50+
permissions:
51+
contents: read # needed to check out a private repo
52+
pull-requests: read # needed to list PR commits in a private repo
5053
steps:
5154
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5255
with:

0 commit comments

Comments
 (0)