refactor(create-new-vault): Replace deprecated TextField with FormTextField #60473
Workflow file for this run
This file contains hidden or 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 | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
# This cancels in-progress workflows for all branches except main as it is, we can remove the rest of the conditions as the first one acts as break circuit with the OR | |
cancel-in-progress: ${{ !(contains(github.ref, 'refs/heads/main') || contains(github.ref, 'refs/heads/stable')) }} | |
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: | | |
test/ | |
docs/ | |
storybook/ | |
.storybook/ | |
'**/*.test.js' | |
'**/*.test.ts' | |
'**/*.test.jsx' | |
'**/*.test.tsx' | |
'**/*.stories.tsx' | |
development/chromereload.js | |
node_modules | |
rules_excluded: example | |
project_metrics_token: ${{secrets.SECURITY_SCAN_METRICS_TOKEN}} | |
slack_webhook: ${{ secrets.APPSEC_BOT_SLACK_WEBHOOK }} |