From b0568310d7b2539034242ec80488cdb51ff1df3a Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Mon, 20 Jan 2025 13:47:39 +0000 Subject: [PATCH] ci: deprecate audit workflows (#5016) --- .github/workflows/api-audit.yml | 30 ---------------------------- .github/workflows/frontend-audit.yml | 19 ------------------ 2 files changed, 49 deletions(-) delete mode 100644 .github/workflows/api-audit.yml delete mode 100644 .github/workflows/frontend-audit.yml diff --git a/.github/workflows/api-audit.yml b/.github/workflows/api-audit.yml deleted file mode 100644 index 2b6ad7bdfe8a..000000000000 --- a/.github/workflows/api-audit.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: API Security Audit - -on: - schedule: - - cron: 0 8 * * * - -defaults: - run: - working-directory: api - -jobs: - audit: - runs-on: ubuntu-latest - name: API Security Audit - - steps: - - name: Cloning repo - uses: actions/checkout@v4 - - - name: Set up Python 3.12 - uses: actions/setup-python@v5 - with: - python-version: '3.12' - - # Ignore CVE-2023-6129 as per https://github.com/pyca/pyopenssl/issues/1300 - - name: Run Audit - run: | - make install - poetry self add poetry-audit-plugin==0.4.0 - poetry audit --ignore-code=CVE-2023-6129 diff --git a/.github/workflows/frontend-audit.yml b/.github/workflows/frontend-audit.yml deleted file mode 100644 index ad9bbb266f3d..000000000000 --- a/.github/workflows/frontend-audit.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Frontend Audit - -on: - schedule: - - cron: 0 8 * * * - -jobs: - execute: - runs-on: ubuntu-latest - - steps: - - name: Cloning repo - uses: actions/checkout@v4 - - - name: Audit - working-directory: frontend - run: | - npm ci - npm audit --audit-level high