Skip to content

Commit

Permalink
Merge pull request #28 from button-inc/27-update-gh-actions-for-zap-a…
Browse files Browse the repository at this point in the history
…nd-playwright

updated gh actions
  • Loading branch information
YaokunLin authored Jul 28, 2023
2 parents a899f17 + 31651e8 commit 6ceb9f8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ concurrency:

jobs:
call-workflow-playwright-test:
uses: button-inc/gh-actions/.github/workflows/[email protected]
uses: button-inc/gh-actions/.github/workflows/[email protected]
with:
package-manager: 'pnpm'
9 changes: 5 additions & 4 deletions .github/workflows/scan-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,27 @@ concurrency:

jobs:
call-workflow-trivy-scan:
uses: button-inc/gh-actions/.github/workflows/scan-code-trivy.yml@v0.0.1
uses: button-inc/gh-actions/.github/workflows/scan-code-trivy.yml@v0.1.0

call-workflow-husky-scan:
uses: button-inc/gh-actions/.github/workflows/scan-code-husky.yml@v0.0.1
uses: button-inc/gh-actions/.github/workflows/scan-code-husky.yml@v0.1.0
with:
working-directory: ./app
node-version: '18'

call-workflow-gitleaks-scan:
uses: button-inc/gh-actions/.github/workflows/scan-code-gitleaks.yml@v0.0.1
uses: button-inc/gh-actions/.github/workflows/scan-code-gitleaks.yml@v0.1.0
with:
notify-user-list: "@shon-button,@YaokunLin"
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
gitleaks-license: ${{ secrets.GITLEAKS_LICENSE}}

call-workflow-owasp-zap-scan:
uses: button-inc/gh-actions/.github/workflows/scan-code-owasp-zap.yml@v0.0.1
uses: button-inc/gh-actions/.github/workflows/scan-code-owasp-zap.yml@v0.1.0
with:
target-url: 'http://localhost:3000'
package-manager: 'pnpm'



0 comments on commit 6ceb9f8

Please sign in to comment.