Skip to content

Commit

Permalink
Update bandit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusalstrom authored Sep 27, 2024
1 parent 7cb03fa commit abfb92e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
name: Security Linting with Bandit

on: [push, pull_request] # Run the pipeline on push or pull request events
on: [push, pull_request]

jobs:
bandit-security-check:
runs-on: ubuntu-latest # Use the latest Ubuntu runner
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3 # Check out your repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4 # Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9' # Use your desired Python version (e.g., '3.9')
python-version: '3.12'

- name: Install dependencies
run: |
python -m pip install --upgrade pip # Upgrade pip
pip install bandit # Install Bandit
- name: Run Bandit Security Checks
Expand Down

0 comments on commit abfb92e

Please sign in to comment.