Skip to content

Commit

Permalink
removing failures
Browse files Browse the repository at this point in the history
  • Loading branch information
hardik-pratap-singh committed Jan 16, 2024
1 parent 969b2f7 commit adb4e96
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/bandit_security_test.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
name: Security check - Bandit # Name of the GitHub Actions workflow
name: Security check - Bandit

on: [push, pull_request] # Trigger the workflow
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest # Executes the job on the latest version of Ubuntu
runs-on: ubuntu-22.04
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # Running matrix jobs on both Ubuntu and macOS
name: Python ${{ matrix.os }} # Name the job based on the OS being used
os: [ubuntu-22.04, macos-latest]
name: Python ${{ matrix.os }}

steps:
- uses: actions/checkout@v2 # Checks out your repository's code
- uses: actions/checkout@v2

- name: Security check - Bandit # Run Bandit security check
uses: ioggstream/[email protected] # Using Bandit for security checks
- name: Security check - Bandit
uses: ioggstream/[email protected]
with:
project_path: . # Path to the project to scan
ignore_failure: true # Continue the workflow even if Bandit reports issues
project_path: .

# This step is optional, it uploads the Bandit report as an artifact
- name: Security check report artifacts
uses: actions/upload-artifact@v1
with:
name: Security report # Name of the artifact
path: output/security_report.txt # Path to the Bandit security report
name: Security report
path: output/security_report.txt

0 comments on commit adb4e96

Please sign in to comment.