mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-11 11:19:58 +08:00
semgrep test (#9549)
* semgrep fix * test semgrep * add changeset * change * revert interface --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
79f6e43ea2
commit
186f6474d3
5
.changeset/huge-beers-march.md
Normal file
5
.changeset/huge-beers-march.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"gradio": minor
|
||||
---
|
||||
|
||||
feat:semgrep test
|
3
.github/workflows/semgrep.yml
vendored
3
.github/workflows/semgrep.yml
vendored
@ -24,6 +24,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: semgrep/semgrep
|
||||
options: --volume /.github/workflows/semgrep_rules.yaml:/mnt/semgrep_rules.yaml
|
||||
outputs:
|
||||
pr_number: ${{ steps.json.outputs.pr_number }}
|
||||
sha: ${{ steps.json.outputs.sha }}
|
||||
@ -43,7 +44,7 @@ jobs:
|
||||
with:
|
||||
repository: ${{ steps.json.outputs.source_repo }}
|
||||
ref: ${{ steps.json.outputs.sha }}
|
||||
- run: semgrep ci --config .github/semgrep_rules.yaml
|
||||
- run: semgrep ci --config /mnt/semgrep_rules.yaml
|
||||
update-status:
|
||||
permissions:
|
||||
actions: read
|
||||
|
Loading…
Reference in New Issue
Block a user