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

feat(host-rules): add support for disabling hosts #6715

Merged
merged 5 commits into from Jul 9, 2020

Conversation

rarkins
Copy link
Collaborator

@rarkins rarkins commented Jul 9, 2020

No description provided.

Adds “enabled” to the list of recognized configuration options for hostRules. A host or domain can be disabled by setting `”enabled”: false` within the host rule. Also added presets :disabledHost() and :disableDomain().
lib/util/http/host-rules.ts Outdated Show resolved Hide resolved
lib/datasource/index.ts Outdated Show resolved Hide resolved
@rarkins rarkins requested a review from viceice July 9, 2020 11:29
@rarkins rarkins merged commit e95bd0b into master Jul 9, 2020
@rarkins rarkins deleted the feat/host-rules-disable branch July 9, 2020 15:34
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 21.26.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@fgreinacher
Copy link
Contributor

fgreinacher commented Jul 14, 2020

This resolves #6660, right @rarkins?

/cc @dlouzan

@dlouzan
Copy link

dlouzan commented Jul 15, 2020

@fgreinacher Thanks for the ping Florian! @bufferoverflow had already noticed yesterday and we bumped the version internally. We still haven't tested the new setting though 😅

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants