Security ci (#8990)

* test pr

* conditional

* conditional

* conditional

* conditional

* conditional

* changes

* changes

* add changeset

* changes

* asd

* 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:36:23 +01:00 committed by GitHub
parent 30a1153120
commit 4c82eae3e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,10 +52,10 @@ runs:
uses: gradio-app/github/actions/input-to-json@main
with:
path: output.json
sha: ${{ github.event.pull_request?.head.sha || github.sha }}
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'}}
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 }}