[Snyk] Security upgrade styled-components from 6.0.7 to 6.1.0 #21
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: Semgrep Analysis | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
semgrep: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install Semgrep | |
run: | | |
python -m pip install semgrep | |
- name: Run Semgrep | |
run: | | |
semgrep --config=p/owasp-top-ten --output=semgrep-results.json | |
- name: Upload Semgrep results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: semgrep-results | |
path: semgrep-results.json |