Skip to content

Commit c0b2b66

Browse files
authored
ci: skip secret scan on main branch (#10)
1 parent 81bb0df commit c0b2b66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ jobs:
117117
# 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.
118118
# More see: https://github.com/marketplace/actions/trufflehog-oss
119119
SecretScan:
120+
if: ${{ github.ref != 'refs/heads/main' }}
120121
name: Secret Scan
121122
runs-on: ubuntu-latest
122123
steps:

0 commit comments

Comments
 (0)