Skip to content

Commit 257035c

Browse files
authored
Ensure we properly set isDraft flag (#36431)
* ensure we properly set isDraft flag
1 parent e37b6b1 commit 257035c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/summarize-impact.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
--sha "${{ github.event.pull_request.head.sha }}" \
4141
--repo "${{ github.event.repository.name }}" \
4242
--owner "${{ github.repository_owner }}" \
43-
--isDraft ${{ github.event.pull_request.draft }}
43+
${{ github.event.pull_request.draft && '--isDraft' || '' }}
4444
env:
4545
# We absolutely need to avoid OOM errors due to certain inherited types from openapi-alps
4646
NODE_OPTIONS: "--max-old-space-size=8192"

eng/tools/summarize-impact/src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export async function main() {
6161
isDraft: {
6262
type: "boolean",
6363
multiple: false,
64+
default: false,
6465
},
6566
},
6667
allowPositionals: true,

0 commit comments

Comments
 (0)