This commit is contained in:
pngwn 2024-08-06 11:54:11 +01:00 committed by GitHub
parent 5523b33736
commit 1f56bcab8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 12 additions and 12 deletions

View File

@ -31,8 +31,8 @@ jobs:
with:
filter: "visual"
token: ${{ secrets.GITHUB_TOKEN }}
test:
name: test
build:
name: "previews-build"
runs-on: ubuntu-22.04
needs: changes
if: needs.changes.outputs.should_run == 'true'

View File

@ -48,6 +48,7 @@ jobs:
pr_number: ${{ needs.changes.outputs.pr_number }}
message: spaces~pending~null
deploy:
name: "previews-deploy"
environment: deploy_spaces
outputs:
space_url: ${{ steps.upload-demo.outputs.SPACE_URL }}

View File

@ -32,8 +32,8 @@ jobs:
with:
filter: "visual"
token: ${{ secrets.GITHUB_TOKEN }}
test:
name: test
build:
name: :storybook-build
runs-on: ubuntu-22.04
needs: changes
if: needs.changes.outputs.should_run == 'true'

View File

@ -59,7 +59,7 @@ jobs:
run_id: ${{ needs.changes.outputs.run_id }}
deploy:
environment: storybook
name: "deploy"
name: "storybook-deploy"
needs: changes
if: ${{ needs.changes.outputs.should_run == 'true' && github.repository == 'gradio-app/gradio' && !contains(needs.changes.outputs.labels, 'no-visual-update') }}
runs-on: ubuntu-latest

View File

@ -29,7 +29,7 @@ jobs:
filter: "functional"
token: ${{ secrets.GITHUB_TOKEN }}
test:
name: "test"
name: "functional-test"
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.should_run == 'true'

View File

@ -13,7 +13,7 @@ concurrency:
jobs:
test:
name: "test"
name: "hygiene-test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

View File

@ -34,7 +34,7 @@ jobs:
filter: "js"
token: ${{ secrets.GITHUB_TOKEN }}
test:
name: test
name: js-test
runs-on: ubuntu-22.04
needs: changes
if: needs.changes.outputs.should_run == 'true'

View File

@ -1,4 +1,4 @@
name: "storybook-deploy"
name: "update-checks"
on:
workflow_run:
@ -39,7 +39,6 @@ jobs:
environment: commit_status
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.should_run == 'false'
steps:
- name: set check name
id: set_check_name

View File

@ -32,7 +32,7 @@ jobs:
filter: "website"
token: ${{ secrets.GITHUB_TOKEN }}
build:
name: build
name: "website-build"
runs-on: ubuntu-22.04
needs: changes
if: needs.changes.outputs.should_run == 'true'

View File

@ -45,7 +45,7 @@ jobs:
message: website~pending~null
deploy:
environment: deploy_website
name: "deploy"
name: "website-deploy"
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.should_run == 'true'