Skip to content

Commit

Permalink
chore(run-scan): move test actions into run-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maksadbek committed Jan 8, 2025
1 parent bc5fe22 commit 13f548e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 43 deletions.
42 changes: 33 additions & 9 deletions .github/workflows/run-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,50 @@ on:
- cron: "0 0 * * THU"

jobs:
wait_for:
name: Wait for any issues, gh-int + code_scanning_alerts on
release:
name: test run-scan
runs-on: ubuntu-latest
container: node:20
steps:
- uses: actions/checkout@v4
- name: Scan Start
id: start
uses: NeuraLegion/bright-github-actions/run-scan@release
- 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 🏁
uses: ./run-scan
with:
api_token: ${{ secrets.BRIGHT_TOKEN}}
hostname: app.brightsec.com
name: Bright Scan - ${{ github.sha }}
api_token: ${{ secrets.BRIGHT_TOKEN }}
name: GitHub scan ${{ github.sha }}
discovery_types: |
[ "crawler" ]
crawler_urls: |
[ "https://brokencrystals.com" ]
module: "dast"
hosts_filter: |
[ ]
wait-for:
name: Wait for any issues, gh-int + code_scanning_alerts on
runs-on: ubuntu-latest
container: node:20
steps:
- uses: actions/checkout@v4
- name: Install dependencies
working-directory: ./wait-for
run: npm ci && npm install -g @vercel/ncc

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

- name: Wait for breakpoint
id: wait
uses: NeuraLegion/bright-github-actions/wait-for@release
uses: ./wait-for
with:
api_token: ${{ secrets.BRIGHT_TOKEN }}
hostname: app.brightsec.com
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/test-run-scan.yml

This file was deleted.

7 changes: 5 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 13f548e

Please sign in to comment.