Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,38 @@ jobs:
shell: bash

analyse-code:
name: Code scanner
name: Analyse code
needs: check-workflows
uses: ./.github/workflows/security-code-scanner.yml
uses: MetaMask/action-security-code-scanner/.github/workflows/security-scan.yml@v2
with:
scanner-ref: v2
paths-ignored: |
.storybook/
**/__snapshots__/
**/*.snap
**/*.stories.js
**/*.stories.tsx
**/*.test.browser.ts*
**/*.test.js*
**/*.test.ts*
**/fixtures/
**/jest.config.js
**/jest.environment.js
**/mocks/
**/test*/
docs/
e2e/
merged-packages/
node_modules/
storybook/
test*/
secrets:
project-metrics-token: ${{ secrets.SECURITY_SCAN_METRICS_TOKEN }}
slack-webhook: ${{ secrets.APPSEC_BOT_SLACK_WEBHOOK }}
permissions:
actions: read
contents: read
security-events: write
secrets:
SECURITY_SCAN_METRICS_TOKEN: ${{ secrets.SECURITY_SCAN_METRICS_TOKEN }}
APPSEC_BOT_SLACK_WEBHOOK: ${{ secrets.APPSEC_BOT_SLACK_WEBHOOK }}

build-lint-test:
name: Build, lint, and test
Expand Down
47 changes: 0 additions & 47 deletions .github/workflows/security-code-scanner.yml

This file was deleted.