-
-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enabling MetaMask security code scanner (#66)
* Enabling security code scanner * Update security code scanner file
- Loading branch information
1 parent
fc05554
commit bdfc094
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: 'MetaMask Security Code Scanner' | ||
|
||
on: | ||
push: | ||
branches: ['master'] | ||
pull_request: | ||
branches: ['master'] | ||
|
||
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 }} |
bdfc094
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give more detailed instructions?