Skip to content

Commit

Permalink
update yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltanofff committed Nov 12, 2024
1 parent acbe9de commit 5fdf516
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflow/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

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

jobs:
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

0 comments on commit 5fdf516

Please sign in to comment.