Skip to content

Commit

Permalink
Enabling the MetaMask Security Code Scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
witmicko authored Feb 20, 2024
1 parent 54de93c commit f03863e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/security-code-scanner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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: |
docs/
e2e/
tests/
'**/mocks/'
'**/__snapshots__/'
'**/*.test.js*'
'**/*.test.ts*'
'**/jest.environment.js'
'**/jest.config.js'
node_modules
mixpanel_project_token: ${{secrets.SECURITY_CODE_SCANNER_MIXPANEL_TOKEN}}
slack_webhook: ${{ secrets.APPSEC_BOT_SLACK_WEBHOOK }}

0 comments on commit f03863e

Please sign in to comment.