File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ github-token:
6161github-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
6467working-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
174177This action supports the `workflow_run` event and will use the `workflow_run` head commit SHA and branch for deployment metadata.
You can’t perform that action at this time.
0 commit comments