Skip to content

Commit b0ae0c6

Browse files
authored
ci: fix secret scan check failed on main branch (#27)
1 parent 9805d2b commit b0ae0c6

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
@@ -74,6 +74,7 @@ jobs:
7474
# 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.
7575
# More see: https://github.com/marketplace/actions/trufflehog-oss
7676
SecretScan:
77+
if: ${{ github.ref != 'refs/heads/main' }}
7778
name: Secret Scan
7879
runs-on: ubuntu-latest
7980
steps:

0 commit comments

Comments
 (0)