Skip to content

Commit 5633261

Browse files
authored
Merge pull request #28 from ntindle/copilot/fix-27
2 parents 91401eb + 285e53d commit 5633261

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/sast.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,8 @@ jobs:
164164
fetch-depth: 0
165165

166166
- name: TruffleHog OSS
167+
# Skip on main branch pushes where base and head are the same
168+
if: github.event_name != 'push' || github.ref != 'refs/heads/main'
167169
uses: trufflesecurity/trufflehog@main
168170
with:
169171
path: ./

0 commit comments

Comments
 (0)