move checks to daily run only

This commit is contained in:
stvnrlly
2023-07-11 21:35:15 -04:00
parent 2f74d35e48
commit a99c01eb14
2 changed files with 7 additions and 12 deletions

View File

@@ -78,11 +78,6 @@ jobs:
- uses: pypa/gh-action-pip-audit@v1.0.6 - uses: pypa/gh-action-pip-audit@v1.0.6
with: with:
inputs: requirements.txt inputs: requirements.txt
- name: Upload pip-audit artifact
uses: actions/upload-artifact@v3
with:
name: pip-audit-report
path: /tmp/pip-audit-output.txt
static-scan: static-scan:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -92,12 +87,7 @@ jobs:
- name: Install bandit - name: Install bandit
run: pip install bandit run: pip install bandit
- name: Run scan - name: Run scan
run: bandit -r app/ -f txt -o /tmp/bandit-output.txt --confidence-level medium run: bandit -r app/ --confidence-level medium
- name: Upload bandit artifact
uses: actions/upload-artifact@v3
with:
name: bandit-report
path: /tmp/bandit-output.txt
dynamic-scan: dynamic-scan:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -44,7 +44,12 @@ jobs:
- name: Install bandit - name: Install bandit
run: pip install bandit run: pip install bandit
- name: Run scan - name: Run scan
run: bandit -r app/ --confidence-level medium run: bandit -r app/ -f txt -o /tmp/bandit-output.txt --confidence-level medium
- name: Upload bandit artifact
uses: actions/upload-artifact@v3
with:
name: bandit-report
path: /tmp/bandit-output.txt
dynamic-scan: dynamic-scan:
runs-on: ubuntu-latest runs-on: ubuntu-latest