Update deploy PR workflow name to include PR number (#2726)
This commit is contained in:
parent
de3d6457a0
commit
1204859a0b
1 changed files with 3 additions and 2 deletions
5
.github/workflows/deploy-pull-request.yml
vendored
5
.github/workflows/deploy-pull-request.yml
vendored
|
|
@ -1,4 +1,5 @@
|
|||
name: Deploy PR to Netlify
|
||||
run-name: Deploy PR #${{ github.event.workflow_run.pull_requests[0].number }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
|
@ -7,7 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
deploy-pull-request:
|
||||
name: Deploy pull request
|
||||
name: Deploy PR #${{ github.event.workflow_run.pull_requests[0].number }}
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
@ -53,4 +54,4 @@ jobs:
|
|||
comment-tag: ${{ steps.pr.outputs.id }}
|
||||
message: |
|
||||
Preview: ${{ steps.netlify.outputs.deploy-url }}
|
||||
⚠️ Exercise caution. Use test accounts. ⚠️
|
||||
⚠️ Exercise caution. Use test accounts. ⚠️
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue