From 94b8a570107a5784219fde63d3388779184dad8b Mon Sep 17 00:00:00 2001 From: ReaperOfVeriod Date: Sun, 25 Oct 2026 03:49:01 +0100 Subject: [PATCH] chore: document branch workflow and security checks --- .gitea/workflows/security.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/security.yaml diff --git a/.gitea/workflows/security.yaml b/.gitea/workflows/security.yaml new file mode 100644 index 0000000..9458cdc --- /dev/null +++ b/.gitea/workflows/security.yaml @@ -0,0 +1,16 @@ +name: API dependency and security checks + +on: + push: + pull_request: + +jobs: + audit: + runs-on: debian-latest + steps: + - uses: actions/checkout@v4 + - name: Audit JavaScript dependencies when a lockfile exists + run: | + if test -f package-lock.json; then + npm audit --audit-level=high + fi