Skip to content

Commit

Permalink
Update workflow to run on main and feature/* branches
Browse files Browse the repository at this point in the history
Signed-off-by: Samet Akcay <[email protected]>
  • Loading branch information
samet-akcay committed Nov 6, 2024
1 parent 716960e commit 0e916c4
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/bandit.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Bandit Security Scan

on:
workflow_dispatch:
inputs:
Expand All @@ -25,15 +24,18 @@ on:
required: true
default: true
type: boolean

pull_request:
branches: [main, develop]
branches:
- main
- "feature/**" # This will match any feature/* branch
paths:
- "**.py"
- "pyproject.toml"
- ".github/workflows/bandit.yaml"
push:
branches: [main, develop]
branches:
- main
- "feature/**" # This will match any feature/* branch
paths:
- "**.py"
- "pyproject.toml"
Expand Down

0 comments on commit 0e916c4

Please sign in to comment.