[code sync] Merge code from sonic-net/sonic-utilities:202205 to 202205 #63
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 | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- master | |
- '201[7-9][0-1][0-9]' | |
- '202[0-9][0-1][0-9]' | |
jobs: | |
semgrep: | |
name: Semgrep | |
runs-on: ubuntu-latest | |
container: | |
image: returntocorp/semgrep | |
steps: | |
- uses: actions/checkout@v3 | |
- run: semgrep ci | |
env: | |
SEMGREP_RULES: p/default |