Archisman Karmakar commited on
Commit
c55814f
·
unverified ·
1 Parent(s): 7840dec

Update ossar.yml

Browse files
Files changed (1) hide show
  1. .github/workflows/ossar.yml +3 -3
.github/workflows/ossar.yml CHANGED
@@ -31,11 +31,12 @@ jobs:
31
  - name: Enable long paths in Git
32
  run: git config --system core.longpaths true
33
 
34
- - name: Checkout repository
35
  uses: actions/checkout@v4
36
  with:
 
37
  clean: true
38
- fetch-depth: 1 # Fetch only the latest commit
39
 
40
  # Uncomment the next step if you are using a self-hosted runner that does not have a compatible .NET version installed.
41
  # - name: Install .NET
@@ -58,4 +59,3 @@ jobs:
58
  - name: Fail on findings
59
  if: steps.ossar.outputs.exit_code != '0'
60
  run: exit 1
61
-
 
31
  - name: Enable long paths in Git
32
  run: git config --system core.longpaths true
33
 
34
+ - name: Checkout repository into short path
35
  uses: actions/checkout@v4
36
  with:
37
+ path: repo # Clones into a folder named "repo" to shorten paths
38
  clean: true
39
+ fetch-depth: 1 # Fetch only the latest commit
40
 
41
  # Uncomment the next step if you are using a self-hosted runner that does not have a compatible .NET version installed.
42
  # - name: Install .NET
 
59
  - name: Fail on findings
60
  if: steps.ossar.outputs.exit_code != '0'
61
  run: exit 1