Skip to content

update yaml

update yaml #1

Workflow file for this run

name: CI
# triggers pipeline when push is made to any branch (typical CI pipeline rule)
on: [push]
jobs:

Check failure on line 6 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
sast_scan:
name: Run Bandit Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install Bandit
run: pip install bandit
- name: Run Bandit Scan
run: bandit -r .
# - name: Run Bandit Scan
# run: bandit -ll -ii -r . -f json -o bandit-report.json