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

Remove default GitHub repo values #426

Merged
merged 1 commit into from
Feb 19, 2020
Merged

Conversation

calvellido
Copy link
Contributor

While working on the memeid microsite, @gutiory faced an issue where the sbt-microsites plugin might rewrite the sbt-microsites own microsite if no micrositeGithubOwner and micrositeGithubRepo are defined in the project using the plugin.

This is due to a combination of factors: the GitHub repo and owner default values, micrositePushSiteWith default setting, and the fact that the user executing had permission to write on the sbt-microsites repository gh-branch.

To overcome this (uncommon though) situation, this PR sets the default GitHub owner and repo values to empty lines.

@calvellido calvellido added the bug Something isn't working label Feb 19, 2020
Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@BenFradet BenFradet left a comment

Choose a reason for hiding this comment

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

👍

@calvellido calvellido merged commit bbcec6c into master Feb 19, 2020
@calvellido calvellido deleted the jv-remove-default-gh-values branch February 19, 2020 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants