File tree Expand file tree Collapse file tree 2 files changed +27
-52
lines changed
Expand file tree Collapse file tree 2 files changed +27
-52
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,38 @@ jobs:
2323 shell : bash
2424
2525 analyse-code :
26- name : Code scanner
26+ name : Analyse code
2727 needs : check-workflows
28- uses : ./.github/workflows/security-code-scanner.yml
28+ uses : MetaMask/action-security-code-scanner/.github/workflows/security-scan.yml@v2
29+ with :
30+ scanner-ref : v2
31+ paths-ignored : |
32+ .storybook/
33+ **/__snapshots__/
34+ **/*.snap
35+ **/*.stories.js
36+ **/*.stories.tsx
37+ **/*.test.browser.ts*
38+ **/*.test.js*
39+ **/*.test.ts*
40+ **/fixtures/
41+ **/jest.config.js
42+ **/jest.environment.js
43+ **/mocks/
44+ **/test*/
45+ docs/
46+ e2e/
47+ merged-packages/
48+ node_modules/
49+ storybook/
50+ test*/
51+ secrets :
52+ project-metrics-token : ${{ secrets.SECURITY_SCAN_METRICS_TOKEN }}
53+ slack-webhook : ${{ secrets.APPSEC_BOT_SLACK_WEBHOOK }}
2954 permissions :
3055 actions : read
3156 contents : read
3257 security-events : write
33- secrets :
34- SECURITY_SCAN_METRICS_TOKEN : ${{ secrets.SECURITY_SCAN_METRICS_TOKEN }}
35- APPSEC_BOT_SLACK_WEBHOOK : ${{ secrets.APPSEC_BOT_SLACK_WEBHOOK }}
3658
3759 build-lint-test :
3860 name : Build, lint, and test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments