Skip to content

Commit 27a79c8

Browse files
authored
Only clone .github directory (#36)
1 parent a9bba0a commit 27a79c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/action_scanning.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
steps:
3737
- name: 'Checkout PR Code'
3838
uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5
39+
with:
40+
fetch-depth: 1
41+
sparse-checkout: '.github'
3942

4043
- name: 'Check for Workflow Files'
4144
id: 'check_files'

0 commit comments

Comments
 (0)