Security ci (#8988)

* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
pngwn 2024-08-05 15:30:30 +01:00 committed by GitHub
parent d30432e9c6
commit 8dd0eb1462
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,6 +44,7 @@ runs:
filter: ${{ inputs.filter }}
- name: get gradio version
id: gradio_version
shell: bash
run: |
GRADIO_VERSION=$(curl -s https://pypi.org/pypi/gradio/json | grep -o '"version":"[^"]*"' | cut -d'"' -f4 | head -n 1)"
echo $GRADIO_VERSION >> $GITHUB_OUTPUT