-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from Messaging-Application/owasp
Owasp
- Loading branch information
Showing
1 changed file
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,12 @@ jobs: | |
name: gitleaks | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: gitleaks/gitleaks-action@v2 | ||
- name: Run Gitleaks | ||
uses: gitleaks/gitleaks-action@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}} | ||
|
@@ -32,6 +34,21 @@ jobs: | |
run: npm run lint | ||
- name: Run unit tests | ||
run: npm run test | ||
- name: Dependency Check | ||
uses: dependency-check/Dependency-Check_Action@main | ||
with: | ||
project: 'messaging-app' | ||
path: '.' | ||
format: 'HTML' | ||
out: 'reports' | ||
args: > | ||
--failOnCVSS 7 | ||
--enableRetired | ||
- name: Upload Dependency Check Test results | ||
uses: actions/upload-artifact@master | ||
with: | ||
name: Dependency Check report | ||
path: ${{github.workspace}}/reports | ||
- name: Login to Docker Hub | ||
uses: docker/[email protected] | ||
with: | ||
|