mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
St16 (#9559)
* fix * fix path * one more * config * format * fix * try again
This commit is contained in:
parent
5782b803f6
commit
4ed5339c2b
8
.github/workflows/semgrep.yml
vendored
8
.github/workflows/semgrep.yml
vendored
@ -24,9 +24,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: semgrep/semgrep
|
||||
volumes:
|
||||
${{ github.workspace }}/.github/configs:/mnt/
|
||||
options: --name semgrepcicontainer
|
||||
options: --volume ${{ github.workspace }}/.github/configs:/mnt/ --name semgrepcontainer
|
||||
outputs:
|
||||
pr_number: ${{ steps.json.outputs.pr_number }}
|
||||
sha: ${{ steps.json.outputs.sha }}
|
||||
@ -46,10 +44,10 @@ jobs:
|
||||
with:
|
||||
repository: ${{ steps.json.outputs.source_repo }}
|
||||
ref: ${{ steps.json.outputs.sha }}
|
||||
- name: restart_semgrepcicontainer
|
||||
- name: restart docker
|
||||
uses: docker://docker
|
||||
with:
|
||||
args: docker restart semgrepcicontainer
|
||||
args: docker restart semgrepcontainer
|
||||
- run: ls -la /mnt
|
||||
- run: semgrep ci --config=/mnt/semgrep_rules.yaml
|
||||
update-status:
|
||||
|
Loading…
x
Reference in New Issue
Block a user