Skip to content

Commit

Permalink
chore: add test-run-scan.yml github action
Browse files Browse the repository at this point in the history
  • Loading branch information
maksadbek committed Jan 8, 2025
1 parent 9a2e1e4 commit 6a07bb3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test-run-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run-scan Automated testing

on: [workflow_dispatch]

jobs:
release:
name: Build GitHub Action
runs-on: ubuntu-latest
container: node:20
steps:
- uses: actions/checkout@v4
- name: Install dependencies
working-directory: ./run-scan
run: npm ci && npm install -g @vercel/ncc

- name: Build release
working-directory: ./run-scan
run: npm run build && npm run pack

- name: Bright Security Scan 🏁
# working-directory: ./run-scan
uses: ./run-scan
with:
api_token: ${{ secrets.BRIGHT_TOKEN }}
name: GitHub scan ${{ github.sha }}
discovery_types: |
[ "crawler" ]
crawler_urls: |
[ "https://brokencrystals.com" ]
module: "dast"
hosts_filter: |
[ ]

0 comments on commit 6a07bb3

Please sign in to comment.