1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-20 06:25:24 +00:00

add semgrep lint

This commit is contained in:
kslr 2020-12-20 14:52:20 +08:00
parent 33e1f2d271
commit ff7e9e1261

14
.github/workflows/semgrep.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Semgrep
on: [pull_request]
jobs:
semgrep:
name: Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: returntocorp/semgrep-action@v1
env: # Optional environment variable for inline PR comments (beta)
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
publishDeployment: 241