[BUG] Use select for update to ensure no lost update #892
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: Python Vulnerability Scan | |
on: | |
push: | |
branches: | |
- '*' | |
- '*/**' | |
paths: | |
- chromadb/** | |
- clients/python/** | |
workflow_dispatch: | |
jobs: | |
bandit-scan: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: ./.github/actions/bandit-scan/ | |
with: | |
input-dir: '.' | |
format: 'json' | |
bandit-config: 'bandit.yaml' | |
output-file: 'bandit-report.json' | |
- name: Upload Bandit Report | |
uses: actions/upload-artifact@v3 | |
with: | |
name: bandit-artifact | |
path: | | |
bandit-report.json |