Skip to content

Commit 0b290e3

Browse files
Bump MetaMask/action-security-code-scanner from 1 to 2 (#283)
--------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maarten Zuidhoorn <[email protected]>
1 parent cabc5e2 commit 0b290e3

File tree

2 files changed

+27
-52
lines changed

2 files changed

+27
-52
lines changed

.github/workflows/main.yml

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/security-code-scanner.yml

Lines changed: 0 additions & 47 deletions
This file was deleted.

0 commit comments

Comments
 (0)