Skip to content

Commit de7831e

Browse files
committed
Change workflow to checkout config as well.
1 parent 50ce103 commit de7831e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/action_scanning.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,9 @@ jobs:
3333

3434
- name: Checkout Code
3535
uses: actions/checkout@v4
36-
with:
37-
path: code_to_scan
3836

3937
- name: Run Actions semgrep scan
40-
run: semgrep scan --sarif --config action_scanning/semgrep-rules/actions code_to_scan >> semgrep-results-actions.sarif
38+
run: semgrep scan --sarif --config action_scanning/semgrep-rules/actions >> semgrep-results-actions.sarif
4139

4240
- name: Save Actions SARIF results as artifact
4341
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)