Mobbeitan patch 5 #178
Workflow file for this run
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
on: [pull_request] | ||
permissions: | ||
actions: write | ||
checks: write | ||
contents: write | ||
pull-requests: write | ||
statuses: write | ||
jobs: | ||
test_job: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo to get code | ||
uses: actions/checkout@v3 | ||
- name: Run 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: fail() | ||
Check failure on line 23 in .github/workflows/main.yml GitHub Actions / .github/workflows/main.ymlInvalid workflow file
|
||
uses: mobb-dev/[email protected] | ||
with: | ||
report-file: "/home/runner/report.json" | ||
api-key: ${{ secrets.MOBB_API_TOKEN }} | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
scanner: snyk |