Browse Source

CLDC-4236: rename pull_request_id input -> pr_number for consistency

pull/3216/head
Nat Dean-Lewis 2 months ago
parent
commit
82d3c62af9
  1. 4
      .github/workflows/review_pipeline.yml

4
.github/workflows/review_pipeline.yml

@ -5,7 +5,7 @@ on:
types: [created] types: [created]
workflow_dispatch: workflow_dispatch:
inputs: inputs:
pull_request_id: pr_number:
required: true required: true
type: string type: string
description: "The number of the PR for which to deploy a review app. Note: this is NOT the ticket number" description: "The number of the PR for which to deploy a review app. Note: this is NOT the ticket number"
@ -26,7 +26,7 @@ jobs:
with: with:
script: | script: |
if (context.eventName === 'workflow_dispatch') { if (context.eventName === 'workflow_dispatch') {
core.setOutput('pr_number', '${{ inputs.pull_request_id }}'); core.setOutput('pr_number', '${{ inputs.pr_number }}');
} else { } else {
core.setOutput('pr_number', context.issue.number.toString()); core.setOutput('pr_number', context.issue.number.toString());
} }

Loading…
Cancel
Save