From e5378233869c43af72a56c475181e1ea144b3cd8 Mon Sep 17 00:00:00 2001 From: Anne Beth Andersen <195699472+abla86@users.noreply.github.com> Date: Tue, 29 Sep 2026 20:26:13 +0200 Subject: [PATCH 1/2] chore(security): configure dependency updates --- .github/dependabot.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1ddc925..2005d38 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,13 +1,14 @@ -version: 2 +version: 2 updates: - - package-ecosystem: "nuget" - directory: "/" - schedule: - interval: "weekly" - open-pull-requests-limit: 5 - - package-ecosystem: "github-actions" directory: "/" - schedule: - interval: "weekly" - open-pull-requests-limit: 5 + schedule: { interval: "weekly" } + open-pull-requests-limit: 10 + - package-ecosystem: "npm" + directory: "/" + schedule: { interval: "weekly" } + open-pull-requests-limit: 10 + - package-ecosystem: "pip" + directory: "/" + schedule: { interval: "weekly" } + open-pull-requests-limit: 10 From 9749de2ae9907aa9d140cb9abc4f5f550fe1092a Mon Sep 17 00:00:00 2001 From: Anne Beth Andersen <195699472+abla86@users.noreply.github.com> Date: Tue, 29 Sep 2026 20:26:15 +0200 Subject: [PATCH 2/2] ci(security): add dependency audit --- .../workflows/security-dependency-audit.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/security-dependency-audit.yml diff --git a/.github/workflows/security-dependency-audit.yml b/.github/workflows/security-dependency-audit.yml new file mode 100644 index 0000000..5b94be5 --- /dev/null +++ b/.github/workflows/security-dependency-audit.yml @@ -0,0 +1,26 @@ +name: Security Dependency Audit +on: + pull_request: + push: + branches: [main, master] +permissions: { contents: read } +jobs: + audit: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: { node-version: 22 } + - name: Audit npm projects + shell: bash + run: | + set -euo pipefail + found=0 + while IFS= read -r package; do + found=1 + dir="$(dirname "$package")" + npm install --package-lock-only --ignore-scripts --no-audit --prefix "$dir" + npm audit --audit-level=high --prefix "$dir" + done < <(find . -name package.json -not -path '*/node_modules/*' -not -path './.git/*' -print) + [ "$found" -eq 0 ] && echo "No npm projects found."