initial commit #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security Check - Bandit for Python | |
on: [pull_request, push] | |
jobs: | |
bandit: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
# security-events: write | |
steps: | |
- name: Setup GitHub Actions | |
uses: actions/checkout@master | |
- name: Install Python | |
uses: actions/setup-python@master | |
with: | |
python-version: '3.10' | |
- name: Install Bandit | |
run: pip3 install bandit | |
- name: Run Bandit on Fraud Module | |
run: bandit -r ./app/fraud | |
# - name: Upload Artifact | |
# uses: actions/upload-artifact@master | |
# # if: failure() | |
# with: | |
# name: Security Report | |
# path: output/security_report.txt |