Skip to content

Commit

Permalink
bandit (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico authored Jul 12, 2024
1 parent 0a8b6b8 commit b4dc3b8
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Security check - Bandit

on: push

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Security check - Bandit
uses: ioggstream/[email protected]
with:
project_path: src
# ignore_failure: true

# This is optional
#- name: Security check report artifacts
# uses: actions/upload-artifact@v4
# with:
# name: Security report
# path: output/security_report.txt

4 changes: 4 additions & 0 deletions src/.bandit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[bandit]
exclude = tests,locales
# token in vocabularies
skips = B106

0 comments on commit b4dc3b8

Please sign in to comment.