Skip to content

Commit eb514b3

Browse files
trying to fix issue
1 parent 2e25557 commit eb514b3

2 files changed

Lines changed: 15 additions & 23 deletions

File tree

.github/workflows/oss_pygoat-devsecops-advanced.yml

Lines changed: 12 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -204,30 +204,19 @@ jobs:
204204
steps:
205205
- name: checkout
206206
uses: actions/checkout@v4.1.0
207-
- name: Gitleaks
208-
continue-on-error: true
209-
# You may pin to the exact commit or the version.
210-
# uses: gitleaks/gitleaks-action@e6dab246340401bf53eec993b8f05aebe80ac636
211-
uses: gitleaks/gitleaks-action@v2.3.4
212-
env:
213-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
214-
#GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
215-
- name: Depcheck
216-
uses: dependency-check/Dependency-Check_Action@main
217-
id: Depcheck
218-
with:
219-
project: 'test'
220-
path: '.'
221-
format: 'HTML'
222-
out: 'reports' # this is the default, no need to specify unless you wish to override it
223-
args: >
224-
--failOnCVSS 7
225-
--enableRetired
226-
- name: Upload Test results
227-
uses: actions/upload-artifact@master
207+
# - name: Gitleaks
208+
# continue-on-error: true
209+
# # You may pin to the exact commit or the version.
210+
# # uses: gitleaks/gitleaks-action@e6dab246340401bf53eec993b8f05aebe80ac636
211+
# uses: gitleaks/gitleaks-action@v2.3.4
212+
# env:
213+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
214+
# #GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
215+
- name: Dependency Review
216+
uses: actions/dependency-review-action@v4.3.2
228217
with:
229-
name: Depcheck report
230-
path: ${{github.workspace}}/reports
218+
base-ref: ${{ github.ref }}
219+
head-ref: ${{ github.sha }}
231220
test-run_devopsshield_scan_linux:
232221
name: Run DevOps Shield Scan Linux
233222
needs:

.github/workflows/oss_pygoat-devsecops-basic.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ jobs:
155155
# #GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} # Only required for Organizations, not personal accounts.
156156
- name: Dependency Review
157157
uses: actions/dependency-review-action@v4.3.2
158+
with:
159+
base-ref: ${{ github.ref }}
160+
head-ref: ${{ github.sha }}
158161
test-run_devopsshield_scan_linux:
159162
name: Run DevOps Shield Scan Linux
160163
needs:

0 commit comments

Comments
 (0)