mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
Security ci (#8992)
* test pr * conditional * conditional * conditional * conditional * conditional * changes * changes * add changeset * changes * asd * asd * asd * asd * asd --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
05724fafa0
commit
d2a97ada58
6
.github/actions/changes/action.yml
vendored
6
.github/actions/changes/action.yml
vendored
@ -46,7 +46,7 @@ runs:
|
||||
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)"
|
||||
GRADIO_VERSION=$(curl -s https://pypi.org/pypi/gradio/json | grep -o '"version":"[^"]*"' | cut -d'"' -f4 | head -n 1)
|
||||
echo $GRADIO_VERSION >> $GITHUB_OUTPUT
|
||||
- name: convert to JSON
|
||||
uses: gradio-app/github/actions/input-to-json@main
|
||||
@ -60,7 +60,7 @@ runs:
|
||||
labels: ${{ github.event.pull_request.labels }}
|
||||
run_id: ${{ github.run_id }}
|
||||
gradio_version: ${{ steps.gradio_version.outputs.gradio_version }}
|
||||
- name: cat json #remove
|
||||
- name: cat json
|
||||
run: cat output.json
|
||||
shell: bash
|
||||
- name: upload JSON
|
||||
@ -73,6 +73,6 @@ runs:
|
||||
uses: gradio-app/github/actions/json-to-output@main
|
||||
with:
|
||||
json: output.json
|
||||
- name: echo outputs #remove
|
||||
- name: echo outputs
|
||||
run: echo ${{ toJson(steps.pr.outputs) }}
|
||||
shell: bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user