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

Add Feature Flag to Enable External Version Building #5910

Merged
merged 2 commits into from
Jul 11, 2019

Conversation

saadmk11
Copy link
Member

No description provided.

@saadmk11 saadmk11 requested review from ericholscher and a team July 11, 2019 12:13
Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

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

Looks good with one small change.

# Handle closed pull_request event.
return self.get_delete_external_version_response(self.project)
if self.project.has_feature(Feature.ENABLE_EXTERNAL_VERSION_BUILD):
if event == GITHUB_PULL_REQUEST and action:
Copy link
Member

Choose a reason for hiding this comment

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

these can be joined together with an and, instead of a nested if.

Copy link
Member Author

Choose a reason for hiding this comment

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

Done! :)

@ericholscher ericholscher merged commit b577d63 into readthedocs:gsoc-19-pr-builder Jul 11, 2019
@saadmk11 saadmk11 deleted the feature-flag branch July 11, 2019 19:39
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