Skip to content

Commit 104e7fe

Browse files
committed
ci: add GithubToken to sec workflow
1 parent e8c7eaf commit 104e7fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/security.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions:
1111
contents: read
12+
pull-requests: read
1213
steps:
1314
- name: Checkout (full history para varredura correta)
1415
uses: actions/checkout@v4
@@ -17,5 +18,7 @@ jobs:
1718

1819
- name: Run Gitleaks
1920
uses: gitleaks/gitleaks-action@v2
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2023
with:
2124
args: --config .gitleaks.toml --redact --verbose

0 commit comments

Comments
 (0)