mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
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:
parent
8dd0eb1462
commit
30a1153120
20
.github/actions/changes/action.yml
vendored
20
.github/actions/changes/action.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user