Skip to content

Commit 6d513e8

Browse files
committed
TEst
1 parent 83e5ade commit 6d513e8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/owasp.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
name: Daily scan
99

1010
on:
11-
schedule:
12-
- cron: '0 18 * * *' # scheduled to run at 18:00 UTC every day
13-
workflow_dispatch: # be able to run the workflow on demand
11+
push:
1412

1513
env:
1614
AWS_DEFAULT_REGION: us-east-1
@@ -61,11 +59,17 @@ jobs:
6159
if: always()
6260
run: |
6361
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 259A55407DD6C00299E6607EFFDE55BE73A2D1ED
62+
echo "POINT 1"
6463
VERSION=$(curl -s https://jeremylong.github.io/DependencyCheck/current.txt)
64+
echo $VERSION
6565
curl -Ls "https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip" --output dependency-check.zip
6666
curl -Ls "https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip.asc" --output dependency-check.zip.asc
67+
echo "POINT 2"
68+
ls
6769
gpg --verify dependency-check.zip.asc
70+
echo "Point 3"
6871
unzip dependency-check.zip
72+
echo "POint 4"
6973
./dependency-check/bin/dependency-check.sh --failOnCVSS 0 --nvdApiKey ${{ env.NVD_API_KEY_NVD_API_KEY }} -s 'otelagent/build/libs/aws-opentelemetry-agent-*-SNAPSHOT.jar'
7074
7175
- name: Print dependency scan results on failure

0 commit comments

Comments
 (0)