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

Allow links only for social badges, affects [GitHubMilestone Dependabot] #6159

Merged
merged 5 commits into from
Feb 8, 2021

Conversation

PyvesB
Copy link
Member

@PyvesB PyvesB commented Feb 7, 2021

Related to #6096.

Twitch is also another badge that doesn't follow this, however, I'm suggesting #6158 as a resolution instead.

@PyvesB PyvesB added service-badge Accepted and actionable changes, features, and bugs documentation Developer and end-user documentation labels Feb 7, 2021
@shields-ci
Copy link

shields-ci commented Feb 7, 2021

Messages
📖

Thanks for contributing to our documentation. We ❤️ our documentarians!

📖 ✨ Thanks for your contribution to Shields, @PyvesB!

Generated by 🚫 dangerJS against faf77ff

@@ -58,7 +58,6 @@ module.exports = class DependabotSemverCompatibility extends BaseJsonService {
return {
color: json.colour,
message: json.status,
link: this._getLink({ packageManager, dependencyName }),
Copy link
Member

Choose a reason for hiding this comment

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

Do we still need to keep the _getLink() function itself? Seems like we could remove it..

Copy link
Member Author

Choose a reason for hiding this comment

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

Indeed, had missed it, good catch.

@lgtm-com
Copy link

lgtm-com bot commented Feb 7, 2021

This pull request introduces 1 alert when merging a5393da into 18dceec - view on LGTM.com

new alerts:

  • 1 for Unused variable, import, function or class

@chris48s
Copy link
Member

chris48s commented Feb 7, 2021

sorry - one more request. Can we add a line to this section of docs

https://github.com/badges/shields/blob/master/CONTRIBUTING.md#badge-guidelines

saying default links are always off for non-social badges

@PyvesB PyvesB merged commit d4116b3 into badges:master Feb 8, 2021
@PyvesB
Copy link
Member Author

PyvesB commented Feb 8, 2021

Deployed to production and communication on Twitter and Discord done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Developer and end-user documentation service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants