Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PDE-5716] feat(cli): Require --overwrite-partner-changes flag when a zapier push from staff could impact partner changes #960

Merged
merged 6 commits into from
Jan 30, 2025

Conversation

rnegron
Copy link
Member

@rnegron rnegron commented Jan 29, 2025

This PR is similar to #942, where we added a --force option to env:set and env:unset.

In this MR, we add a --overwrite-partner-changes flag to force a zapier push to skip a new check when the user is a Zapier staff and the latest integration version contains partner-pushed code ("clobbering" protection).

Screen Shot 2025-01-29 at 4 09 09 PM

},
extraHeaders: headers,
},
true,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This true adds rawError = True so we can catch a response as err and can do err.status.

@rnegron rnegron marked this pull request as ready for review January 29, 2025 20:13
@rnegron rnegron requested a review from a team as a code owner January 29, 2025 20:13
'overwrite-partner-changes': Flags.boolean({
description:
'(Internal Use Only) Allows Zapier Staff to push changes to integrations in certain situations.',
hidden: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@rnegron rnegron merged commit d16b970 into main Jan 30, 2025
14 checks passed
@rnegron rnegron deleted the PDE-5716 branch January 30, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants