Skip to content

Commit

Permalink
ci: skip secret scan on main branch (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoumo authored Jul 8, 2024
1 parent 81bb0df commit c0b2b66
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
# The TruffleHog OSS Github Action can be used to scan a range of commits for leaked credentials. The action will fail if any results are found.
# More see: https://github.com/marketplace/actions/trufflehog-oss
SecretScan:
if: ${{ github.ref != 'refs/heads/main' }}
name: Secret Scan
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit c0b2b66

Please sign in to comment.