From 438b87b12cf5cef30f492c3374e043fa1918cd77 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Mon, 24 Jun 2024 12:14:34 -0400 Subject: [PATCH] ci: increase threshold --- .github/workflows/node-ci.yml | 2 +- .github/workflows/pr.yml | 10 +++++----- .github/workflows/release.yml | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index df0bede..3fa8362 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -25,7 +25,7 @@ on: audit-script: required: false type: string - default: npm audit --audit-level=high + default: npm audit --audit-level=critical build-script: required: false type: string diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 8370563..4bbf8d5 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,14 +20,14 @@ jobs: with: working-directory: ./src/dapp run-build: true - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical build-xgov-dapp: name: xGov Dapp uses: ./.github/workflows/node-ci.yml with: working-directory: ./src/xgov-dapp pre-run-script: cd ../dapp && npm ci - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical run-dispatch: true secrets: chromatic-token: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} @@ -37,7 +37,7 @@ jobs: uses: ./.github/workflows/node-ci.yml with: working-directory: ./src/build-a-bull - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical secrets: npm-auth-token: ${{ secrets.GITHUB_TOKEN }} build-api: @@ -47,7 +47,7 @@ jobs: node-version: 18.x working-directory: ./src/voting-metadata-api run-build: true - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical build-algorand: name: Algorand build uses: ./.github/workflows/smart-contract-ci.yml @@ -59,4 +59,4 @@ jobs: with: working-directory: ./infrastructure run-build: true - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d9970e..6f17e3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: with: working-directory: ./src/dapp compile-script: npm run typecheck - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-xgov-dapp: name: CI xGov Dapp uses: ./.github/workflows/node-ci.yml @@ -30,27 +30,27 @@ jobs: working-directory: ./src/xgov-dapp pre-run-script: cd ../dapp && npm ci compile-script: npm run typecheck - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-events-dapp: name: CI Events Dapp uses: ./.github/workflows/node-ci.yml with: working-directory: ./src/build-a-bull compile-script: npm run typecheck - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-api: name: CI API uses: ./.github/workflows/node-ci.yml with: working-directory: ./src/voting-metadata-api compile-script: npm run typecheck - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-infrastructure: name: CI Infrastructure uses: ./.github/workflows/node-ci.yml with: working-directory: ./infrastructure - audit-script: npm run audit --audit-level=high + audit-script: npm run audit --audit-level=critical ci-algorand: name: Algorand build uses: ./.github/workflows/smart-contract-ci.yml