Update deploy PR workflow name to include PR number (#2726)

This commit is contained in:
Krishan
2026-03-04 19:30:36 +11:00
committed by GitHub
parent 68b6a09697
commit 2bd1570d6b

View File

@@ -1,4 +1,5 @@
name: Deploy PR to Netlify name: Deploy PR to Netlify
run-name: Deploy PR #${{ github.event.workflow_run.pull_requests[0].number }}
on: on:
workflow_run: workflow_run:
@@ -7,7 +8,7 @@ on:
jobs: jobs:
deploy-pull-request: deploy-pull-request:
name: Deploy pull request name: Deploy PR #${{ github.event.workflow_run.pull_requests[0].number }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: read contents: read
@@ -53,4 +54,4 @@ jobs:
comment-tag: ${{ steps.pr.outputs.id }} comment-tag: ${{ steps.pr.outputs.id }}
message: | message: |
Preview: ${{ steps.netlify.outputs.deploy-url }} Preview: ${{ steps.netlify.outputs.deploy-url }}
⚠️ Exercise caution. Use test accounts. ⚠️ ⚠️ Exercise caution. Use test accounts. ⚠️