We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ee8f1b3 + 5462169 commit 6520d79Copy full SHA for 6520d79
1 file changed
.github/workflows/semgrep.yml
@@ -21,7 +21,15 @@ jobs:
21
- name: Checkout
22
uses: actions/checkout@v6
23
24
+ - name: Check for .github directory
25
+ id: check
26
+ run: |
27
+ if [ -d ".github/" ]; then
28
+ echo "exists=true" >> "$GITHUB_OUTPUT"
29
+ fi
30
+
31
- name: Run Semgrep
32
+ if: steps.check.outputs.exists == 'true'
33
run: |
34
semgrep \
35
--config ".semgrep/rules/" \
0 commit comments