This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
Update security code scanner file #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'MetaMask Security Code Scanner' | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['main'] | |
jobs: | |
run-security-scan: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: MetaMask Security Code Scanner | |
uses: MetaMask/Security-Code-Scanner@main | |
with: | |
repo: ${{ github.repository }} | |
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*/ | |
rules_excluded: example | |
project_metrics_token: ${{ secrets.SECURITY_SCAN_METRICS_TOKEN }} | |
slack_webhook: ${{ secrets.APPSEC_BOT_SLACK_WEBHOOK }} |