Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iamramashishsharma authored Jul 8, 2024
1 parent e0c3d22 commit b8b7364
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ jobs:
with:
fetch-depth: 0
clean: false
ref: refs/heads/test

- name: Set permissions for reports directory
run: sudo chmod -R 777 /home/runner/work/sdos/sdos/reports || true

Expand All @@ -289,6 +289,8 @@ jobs:

- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v2
with:
args: detect --redact -v --exit-code=2 --report-format=sarif --report-path=results.sarif --log-level=debug
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
Expand Down

0 comments on commit b8b7364

Please sign in to comment.