Skip to content

Commit

Permalink
github actions workflow Bandit
Browse files Browse the repository at this point in the history
  • Loading branch information
StarTrooper08 committed Dec 24, 2023
1 parent d6767ac commit 42698a7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/checkfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Scan Python Code using Bandit

on:
push:
branches: ['main']

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- name: Checkout Github Repo
uses: actions/checkout@v3

- name: python bandit
run: |
pip install bandit
bandit -r .

0 comments on commit 42698a7

Please sign in to comment.