chore: update user mentions and log ci (#7371)

This commit is contained in:
pngwn 2024-02-09 13:52:12 +00:00 committed by GitHub
parent c1a7ea7c0c
commit a6d9f3bb3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -154,10 +154,7 @@ const changelogFunctions = {
const users =
usersFromSummary && usersFromSummary.length
? usersFromSummary
.map(
(userFromSummary) =>
`[@${userFromSummary}](https://github.com/${userFromSummary})`
)
.map((userFromSummary) => `@${userFromSummary}`)
.join(", ")
: links.user;

View File

@ -73,7 +73,7 @@ jobs:
cache-dependency-path: pnpm-lock.yaml
- name: Install pip
run: python -m pip install build requests
- name: Get PR Number
- name: Get Gradio Version
id: get_gradio_version
run: |
if ${{ github.event_name == 'pull_request' || github.event.workflow_run.event == 'pull_request' }}; then
@ -119,6 +119,11 @@ jobs:
python scripts/upload_website_demos.py --AUTH_TOKEN ${{ secrets.WEBSITE_SPACES_DEPLOY_TOKEN }} \
--WHEEL_URL https://gradio-builds.s3.amazonaws.com/${{ needs.changes.outputs.sha }}/ \
--GRADIO_VERSION ${{ steps.get_gradio_version.outputs.GRADIO_VERSION }}
- name: log
run: |
echo ${{github.event.workflow_run.event }}
echo ${{ github.event.workflow_run.conclusion }}
comment-spaces-success:
uses: "./.github/workflows/comment-queue.yml"
needs: [deploy-spaces, changes]