mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
test (#5195)
* test * add changeset * ci tweaks * ci tweaks * fix * fix * delete changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
4844303e8d
commit
43f3d3d77c
2
.github/workflows/check-demo-notebooks.yml
vendored
2
.github/workflows/check-demo-notebooks.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
- name: Upload PR Number
|
||||
if: always()
|
||||
run: |
|
||||
python -c "import json; json.dump({'pr_number': ${{ env.PR_NUMBER }}, open('metadata.json', 'w'))"
|
||||
python -c "import json; json.dump({'pr_number': ${{ env.PR_NUMBER }}}, open('metadata.json', 'w'))"
|
||||
- name: Upload metadata
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
|
2
.github/workflows/deploy-website.yml
vendored
2
.github/workflows/deploy-website.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
||||
comment-deploy-start:
|
||||
uses: "./.github/workflows/comment-queue.yml"
|
||||
secrets:
|
||||
gh_token: ${{ secrets.github_token }}
|
||||
gh_token: ${{ secrets.gh_token }}
|
||||
with:
|
||||
pr_number: ${{ inputs.pr_number }}
|
||||
message: website~pending~null
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.name == 'Check Demos Match Notebooks'}}
|
||||
needs: get-pr-number
|
||||
secrets:
|
||||
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
gh_token: ${{ secrets.COMMENT_TOKEN }}
|
||||
with:
|
||||
pr_number: ${{ needs.get-pr-number.outputs.pr_number }}
|
||||
message: notebooks~success~null
|
||||
@ -36,7 +36,7 @@ jobs:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.name == 'Check Demos Match Notebooks'}}
|
||||
needs: get-pr-number
|
||||
secrets:
|
||||
gh_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
gh_token: ${{ secrets.COMMENT_TOKEN }}
|
||||
with:
|
||||
pr_number: ${{ needs.get-pr-number.outputs.pr_number }}
|
||||
message: notebooks~failure~https://github.com/gradio-app/gradio/actions/runs/${{github.run_id}}/
|
||||
|
Loading…
Reference in New Issue
Block a user