handle_cors #2
17
.gitea/workflows/bandit.yml
Normal file
17
.gitea/workflows/bandit.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
name: Bandit
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
|
||||||
|
# XXX need to do stuff with uv
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: freebsd
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
python-version: ["3.11"]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Analyse code with Bandit
|
||||||
|
run: |
|
||||||
|
bandit -r .
|
||||||
23
.gitea/workflows/pip-audit.yml
Normal file
23
.gitea/workflows/pip-audit.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
name: pip-audit
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 0' # Weekly on Sunday
|
||||||
|
|
||||||
|
# XXX need to do stuff with uv
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: freebsd
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
python-version: ["3.11"]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Check vulnerable components with pip-audit
|
||||||
|
run: |
|
||||||
|
pip-audit .
|
||||||
|
|
||||||
Reference in New Issue
Block a user