[Snyk] Fix for 4 vulnerabilities #211
Triggered via pull request
September 13, 2024 09:36
Status
Failure
Total duration
3m 54s
Artifacts
–
test.yml
on: pull_request
see_if_should_skip
4s
Matrix: test
Annotations
8 errors and 45 warnings
test (unit):
tests/unit/actions-workflows.js#L39
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 9
- Array []
+ Array [
+ "42Crunch/api-security-audit-action@v1",
+ "actions/checkout@v2",
+ "actions/setup-node@v1",
+ "anchore/scan-action@main",
+ "azure/webapps-deploy@v2",
+ "github/codeql-action/autobuild@v1",
+ "github/codeql-action/upload-sarif@v1",
+ ]
at Object.<anonymous> (/home/runner/work/docs/docs/tests/unit/actions-workflows.js:39:31)
at Object.asyncJestTest (/home/runner/work/docs/docs/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:100:37)
at /home/runner/work/docs/docs/node_modules/jest-jasmine2/build/queueRunner.js:47:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/docs/docs/node_modules/jest-jasmine2/build/queueRunner.js:30:19)
at /home/runner/work/docs/docs/node_modules/jest-jasmine2/build/queueRunner.js:77:41
at processTicksAndRejections (internal/process/task_queues.js:95:5)
|
test (unit)
Process completed with exit code 1.
|
test (routing):
middleware/contextualizers/webhooks.js#L14
TypeError: Cannot read property 'miscVersionName' of undefined
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/webhooks.js:14:69)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:346:12)
at next (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:280:10)
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/rest.js:16:52)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
|
test (routing):
middleware/contextualizers/webhooks.js#L14
TypeError: Cannot read property 'miscVersionName' of undefined
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/webhooks.js:14:69)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:346:12)
at next (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:280:10)
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/rest.js:16:52)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
|
test (routing):
internal/process/task_queues.js#L95
Error: Custom message:
/en/enterprise/2.18/apps/building-oauth-apps/understanding-scopes-for-oauth-apps did not redirect to /en/enterprise/2.18/user/developers/apps/scopes-for-oauth-apps
expect(received).toBe(expected) // Object.is equality
Expected: 301
Received: 404
at /home/runner/work/docs/docs/tests/routing/developer-site-redirects.js:106:79
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
|
test (routing):
middleware/contextualizers/webhooks.js#L14
TypeError: Cannot read property 'miscVersionName' of undefined
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/webhooks.js:14:69)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
at Function.process_params (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:346:12)
at next (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:280:10)
at module.exports (/home/runner/work/docs/docs/middleware/contextualizers/rest.js:16:52)
at Layer.handle [as handle_request] (/home/runner/work/docs/docs/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/runner/work/docs/docs/node_modules/express/lib/router/index.js:328:13)
at /home/runner/work/docs/docs/node_modules/express/lib/router/index.js:286:9
|
test (routing):
internal/process/task_queues.js#L95
Error: Caught error after test environment was torn down
Custom message:
/en/enterprise/2.18/v3/activity/event_types did not redirect to /en/enterprise/2.18/user/developers/webhooks-and-events/github-event-types
expect(received).toBe(expected) // Object.is equality
Expected: 301
Received: 404
at /home/runner/work/docs/docs/tests/routing/developer-site-redirects.js:122:79
at processTicksAndRejections (internal/process/task_queues.js:95:5)
|
test (routing)
Process completed with exit code 1.
|
see_if_should_skip
The following actions uses node12 which is deprecated and will be forced to run on node16: fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
see_if_should_skip
The following actions use a deprecated Node.js version and will be forced to run on node20: fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
see_if_should_skip
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (graphql)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (graphql)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (graphql)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (graphql)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (graphql)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (graphql)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (unit)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (unit)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (unit)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (unit)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (unit)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (unit)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (meta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (meta)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (meta)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (meta)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (meta)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (meta)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (routing)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (routing)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (routing)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (routing)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (routing)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (routing)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (rendering)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (rendering)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (rendering)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (rendering)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (rendering)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (rendering)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (content)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (content)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (content)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (content)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (content)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (content)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (links-and-images)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test (links-and-images)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f, actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d, actions/cache@0781355a23dac32fd3bac414512f4b903437991a. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
test (links-and-images)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (links-and-images)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (links-and-images)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test (links-and-images)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|