Skip to content

Commit f7233cb

Browse files
author
Peng Ren
committed
remove bandit from wf
1 parent d76c735 commit f7233cb

File tree

1 file changed

+1
-35
lines changed

1 file changed

+1
-35
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -151,38 +151,4 @@ jobs:
151151
152152
### What's New
153153
154-
See the automatically generated release notes below for detailed changes.
155-
156-
security-scan:
157-
name: Security Scan
158-
runs-on: ubuntu-latest
159-
needs: build
160-
161-
steps:
162-
- uses: actions/checkout@v4
163-
164-
- name: Set up Python ${{ env.PYTHON_VERSION }}
165-
uses: actions/setup-python@v4
166-
with:
167-
python-version: ${{ env.PYTHON_VERSION }}
168-
169-
- name: Install security tools
170-
run: |
171-
python -m pip install --upgrade pip
172-
pip install safety bandit[toml]
173-
174-
- name: Run safety check
175-
run: |
176-
safety check --json --output safety-report.json || true
177-
178-
- name: Run bandit security scan
179-
run: |
180-
bandit -r pymongosql/ -f json -o bandit-report.json || true
181-
182-
- name: Upload security scan results
183-
uses: actions/upload-artifact@v4
184-
with:
185-
name: security-reports
186-
path: |
187-
safety-report.json
188-
bandit-report.json
154+
See the automatically generated release notes below for detailed changes.

0 commit comments

Comments
 (0)