Skip to content

Commit f56ee71

Browse files
andykenwardCopilot
andcommitted
docs:
Co-authored-by: Copilot <copilot@github.com>
1 parent c7fa98f commit f56ee71

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ github-token:
6161
github-environment:
6262
description: 'GitHub environment to deploy to. You need to manually create this for the github repo'
6363
required: true
64+
pr-number:
65+
description: 'GitHub pull request number to comment on. If not set, the action auto-detects from the event payload.'
66+
required: false
6467
working-directory:
6568
description: 'Directory to run wrangler cli from'
6669
required: false
@@ -168,7 +171,7 @@ jobs:
168171
directory: dist
169172
github-token: ${{ secrets.GITHUB_TOKEN }}
170173
github-environment: preview
171-
pr-number: ${{ github.event.number }}
174+
pr-number: # The PR number
172175
```
173176

174177
This action supports the `workflow_run` event and will use the `workflow_run` head commit SHA and branch for deployment metadata.

0 commit comments

Comments
 (0)