chore: remove duplicated semgrep
e.g., https://github.com/DIYgod/RSSHub/actions/runs/7093681885/job/19307555786#step:4:27
This commit is contained in:
@@ -21,25 +21,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: returntocorp/semgrep
|
||||
if: (github.actor != 'dependabot[bot]')
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: semgrep ci
|
||||
env:
|
||||
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
|
||||
|
||||
semgrep-github:
|
||||
name: Scan
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: returntocorp/semgrep
|
||||
if: (github.actor != 'dependabot[bot]')
|
||||
if: (github.triggering_actor != 'dependabot[bot]')
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: semgrep ci --sarif --output=semgrep.sarif
|
||||
- run: semgrep ci --sarif > semgrep.sarif
|
||||
env:
|
||||
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
|
||||
- name: Upload SARIF file for GitHub Advanced Security Dashboard
|
||||
|
||||
Reference in New Issue
Block a user