Skip to content

Update xss-example.js #11

Update xss-example.js

Update xss-example.js #11

on: [pull_request]
permissions:
contents: read
checks: write
actions: write
statuses: write
jobs:
test_snyk:
runs-on: ubuntu-latest
steps:
- name: Setup Node on this machine
uses: actions/[email protected]
with:
node-version: 18
- name: Checkout repo to get code
uses: actions/checkout@v3
- name: Run Snyk SAST scan
run:
npx snyk auth ${{ secrets.SNYK_API_KEY }} && npx snyk code test --sarif-file-output=/home/runner/report.json ./
shell: bash -l {0}
- name: Run Mobb on the findings and get fixes
if: failure()
uses: mobb-dev/action@v1
with:
report-file: "/home/runner/report.json"
api-key: ${{ secrets.MOBB_API_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}