Skip to content

Commit

Permalink
Trying out introducing a Bandit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
crmpicco committed Dec 19, 2023
1 parent 19b263d commit 1ad2eb2
Showing 1 changed file with 24 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: Bandit
on:
pull_request:
push:
branches:
- master #dev, release, etc.
release:
types:
- created

jobs:
bandit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 #get fuller history
- name: Run Bandit Report
uses: libertyy/py3-bandit-check@v2
- name: Save Bandit txt Report
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
path: ${{ RUNNER.temp }}/_github_home/bandit_report.out

0 comments on commit 1ad2eb2

Please sign in to comment.