Skip to content

Commit b553fb8

Browse files
authored
chore(enum-updater): fix pr close command (#35038)
### Issue # (if applicable) Workflow job is failed(see [logs](https://github.com/aws/aws-cdk/actions/runs/16417995552/job/46488118988)), the problem is that there is an existing PR already and it tries to close it, however the confirm flag that is used to close doest not exist: + gh pr close 35021 --confirm Found existing PR #35021 for module ecs, closing it... unknown flag: --confirm Usage: gh pr close {<number> | <url> | <branch>} [flags] ### Reason for this change Removed the flag and added closure description
1 parent 9571599 commit b553fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/enum-auto-updater.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
# If a PR exists, close it
8787
if [[ -n "$prExists" ]]; then
8888
echo "Found existing PR #$prExists for module ${moduleName#aws-}, closing it..."
89-
gh pr close "$prExists" --confirm
89+
gh pr close "$prExists" -c "Closing in favor of a new PR with updated enum values"
9090
else
9191
echo "No existing PR found for ${moduleName#aws-}"
9292
fi

0 commit comments

Comments
 (0)