diff --git a/.github/workflows/check-demo-notebooks.yml b/.github/workflows/check-demo-notebooks.yml index 2a4642646e..4a8f749fd6 100644 --- a/.github/workflows/check-demo-notebooks.yml +++ b/.github/workflows/check-demo-notebooks.yml @@ -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 diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index b241b96c53..46a80c0a2a 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -49,7 +49,7 @@ jobs: - name: download artifacts uses: actions/download-artifact@v3 with: - name: website-json-${{ inputs.pr_number }}} + name: website-json-${{ inputs.pr_number }} path: | ./js/_website/src/lib/json - name: echo artifact path diff --git a/.github/workflows/trigger-changeset.yml b/.github/workflows/trigger-changeset.yml index ba33df080c..cc6e20d996 100644 --- a/.github/workflows/trigger-changeset.yml +++ b/.github/workflows/trigger-changeset.yml @@ -12,5 +12,8 @@ jobs: permissions: write-all name: static checks runs-on: ubuntu-22.04 + if: github.event.sender.login != 'gradio-pr-bot' steps: + - run: echo ${{ github.event_name }} + - run: echo ${{ github.event.sender.login }} - run: echo "Triggering changeset generation" diff --git a/.github/workflows/ui.yml b/.github/workflows/ui.yml index 3c373711a8..9f5bf67f4a 100644 --- a/.github/workflows/ui.yml +++ b/.github/workflows/ui.yml @@ -84,7 +84,7 @@ jobs: - name: save artifacts uses: actions/upload-artifact@v3 with: - name: website-json-${{ steps.pr_details.outputs.pr_number }}} + name: website-json-${{ steps.pr_details.outputs.pr_number }} path: | ./js/_website/src/lib/json deploy_to_vercel: