Skip to content

Commit

Permalink
EXUI-705: Action dev review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Elliott authored and Tom Elliott committed Aug 17, 2023
1 parent cdc1665 commit c4c4558
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/dependency-check.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Suppressions
name: Automated update of known-issue suppression

on:
pull_request:
branches:
- master
schedule:
# At 12 midnight and every 3rd hour from 10am through 11pm
- cron: "0 0,10-23/3 * * *"
# At 12 midnight, 7am and 5pm
- cron: "0 0,7,17 * * *"
workflow_dispatch:

jobs:
Expand All @@ -22,11 +25,11 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 16
- name: Run dependencyCheck
run: yarn audit
- name: Run automated update of known-issue suppression
run: yarn update-audit-known-issues
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
skip_dirty_check: false
commit_message: "Suppressing CVE - Actions"
commit_message: "Automated update of known-issue suppression"
branch: master
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"node": ">=12.13.0"
},
"scripts": {
"audit": "yarn npm audit --recursive --environment production --json > yarn-audit-known-issues",
"build": "yarn build:prod && yarn build:node",
"build:docker": "docker build -t xui .",
"build:ng": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod build",
Expand Down Expand Up @@ -70,7 +69,8 @@
"test:codeceptE2EDebug": "TEST_TYPE=e2e npx codeceptjs run --plugins retryFailedStep --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_test --reporter mochawesome ",
"test:codeceptE2E": "TEST_TYPE=e2e npx codeceptjs run-workers --suites 5 --plugins retryFailedStep --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_enabled --reporter mochawesome ",
"test:xuiIntegrationDebug": "NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration TEST_URL=http://localhost:3000 npx codeceptjs run --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_test --reporter mochawesome ",
"test:xuiIntegration": "yarn build && node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration PARALLEL=true npx codeceptjs run-workers --suites 5 --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_enabled --reporter mochawesome "
"test:xuiIntegration": "yarn build && node ./test_codecept/backendMock/configCopy.js && NODE_CONFIG_ENV=mock TEST_TYPE=ngIntegration PARALLEL=true npx codeceptjs run-workers --suites 5 --config=./test_codecept/codeceptCommon/codecept.conf.ts --features --grep @codecept_enabled --reporter mochawesome ",
"update-audit-known-issues": "yarn npm audit --recursive --environment production --json > yarn-audit-known-issues"
},
"private": true,
"dependencies": {
Expand Down

0 comments on commit c4c4558

Please sign in to comment.