mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +08:00
add label to changeset pr (#5772)
This commit is contained in:
parent
d6295df030
commit
2626a26f18
6
.github/workflows/publish-npm.yml
vendored
6
.github/workflows/publish-npm.yml
vendored
@ -43,6 +43,12 @@ jobs:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GRADIO_PAT }}
|
||||
- name: add label to skip chromatic build
|
||||
if: ${{ steps.changesets.outputs.pullRequestNumber != '' && steps.changesets.outputs.pullRequestNumber != 'undefined' }}
|
||||
run: gh pr edit "$PR_NUMBER" --add-label "no-visual-update"
|
||||
env:
|
||||
PR_NUMBER: ${{ steps.changesets.outputs.pullRequestNumber }}
|
||||
GITHUB_TOKEN: ${{ secrets.GRADIO_PAT }}
|
||||
- name: publish to pypi
|
||||
if: steps.changesets.outputs.hasChangesets != 'true'
|
||||
uses: "gradio-app/github/actions/publish-pypi@main"
|
||||
|
Loading…
Reference in New Issue
Block a user