Skip to content

chore: remove redundant --remote flag breaking update-apis#3906

Merged
pearigee merged 3 commits intomainfrom
pearigee-fix-update-apis
May 5, 2026
Merged

chore: remove redundant --remote flag breaking update-apis#3906
pearigee merged 3 commits intomainfrom
pearigee-fix-update-apis

Conversation

@pearigee
Copy link
Copy Markdown
Contributor

@pearigee pearigee commented May 5, 2026

The update-apis.yaml workflow is currently broken with the following error:

the `--remote` flag is unsupported when a repository argument is provided

When you use the --clone flag, the GitHub CLI is smart enough to realize you’ll want to keep in touch with the original repository. By default, it automatically:

Sets your fork as origin.

Sets the original repository (googleapis/google-api-nodejs-client) as upstream.

Adding the --remote flag manually is redundant because gh does this for you the moment you ask it to clone.


Note: A bad sinon version was breaking the build (we previously faced this issue in other packages). As a result I need to pin versions to proceed.

@pearigee pearigee requested a review from a team as a code owner May 5, 2026 17:56
@product-auto-label product-auto-label Bot added the size: xs Pull request size is extra small. label May 5, 2026
@product-auto-label product-auto-label Bot added size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels May 5, 2026
@pearigee pearigee merged commit c0b6045 into main May 5, 2026
18 checks passed
@pearigee pearigee deleted the pearigee-fix-update-apis branch May 5, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants