test semgrep in ci (#9507)

* test

* add changeset

* add token

* add filter

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Abubakar Abid 2024-10-02 15:58:01 -07:00 committed by GitHub
parent 8ff76dbfcd
commit b25a64e98b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"gradio": minor
---
feat:test semgrep in ci

View File

@ -33,6 +33,9 @@ jobs:
- uses: actions/checkout@v4
- uses: "gradio-app/gradio/.github/actions/changes@main"
id: changes
with:
filter: "gradio"
token: ${{ secrets.GITHUB_TOKEN }}
semgrep:
permissions:
contents: read

View File

@ -1,5 +1,5 @@
"""
This file defines two useful high-level abstractions to build Gradio apps: Interface and TabbedInterface.
This file defines two useful high-level abstractions to build Gradio apps: Interface and TabbedInterface.
"""
from __future__ import annotations