Skip to content

Commit

Permalink
Create bandit-security-check-python-agents-api.yml (#534)
Browse files Browse the repository at this point in the history
  - **Workflow Addition**:
    - Adds `bandit-security-check-python-agents-api.yml` to `.github/workflows/`.
    - Triggers on pull requests to the `main` branch.
  - **Security Check**:
    - Uses `mdegis/[email protected]` to check Python code in `./agents-api/agents_api`.
    - Configured with `level: high` and `confidence: high`.
    - `exit_zero: true` allows workflow to pass even if issues are found.
  • Loading branch information
creatorrr authored Sep 30, 2024
1 parent 076a8dc commit 9668b75
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/bandit-security-check-python-agents-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
pull_request:
branches:
- main

jobs:
bandit_check:
name: bandit check security of python code in agents-api
runs-on: ubuntu-latest

steps:
- uses: mdegis/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
path: "./agents-api/agents_api"
level: high
confidence: high
# exit_zero: true

0 comments on commit 9668b75

Please sign in to comment.