Security ci (#8989)

* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* asd

---------

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

View File

@ -50,16 +50,16 @@ runs:
echo $GRADIO_VERSION >> $GITHUB_OUTPUT
- name: convert to JSON
uses: gradio-app/github/actions/input-to-json@main
with:
path: output.json
sha: ${{ github.event.pull_request?.head.sha || github.sha }}
source_repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
source_branch: ${{ github.event.pull_request.head.ref || github.ref }}
pr_number: ${{ github.event.pull_request?.number || 'false'}}
should_run: ${{ steps.changes.outputs.should_run }}
labels: ${{ github.event.pull_request.labels }}
run_id: ${{ github.run_id }}
gradio_version: ${{ steps.gradio_version.outputs.gradio_version }}
with:
path: output.json
sha: ${{ github.event.pull_request?.head.sha || github.sha }}
source_repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
source_branch: ${{ github.event.pull_request.head.ref || github.ref }}
pr_number: ${{ github.event.pull_request?.number || 'false'}}
should_run: ${{ steps.changes.outputs.should_run }}
labels: ${{ github.event.pull_request.labels }}
run_id: ${{ github.run_id }}
gradio_version: ${{ steps.gradio_version.outputs.gradio_version }}
- name: cat json #remove
run: cat output.json
shell: bash