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 a missing redirect to [coveralls] #8644

Merged
merged 2 commits into from Nov 22, 2022

Conversation

PaulaBarszcz
Copy link
Collaborator

@PaulaBarszcz PaulaBarszcz commented Nov 20, 2022

https://img.shields.io/coveralls/github/badges/shields

Zrzut ekranu 2022-11-20 o 13 21 12

Hi @chris48s,
I noticed that after my last changes to the Coveralls badge (PR #8584 ) there is one redirect missing (for the case without the specified branch).
I added it in this PR.

  base: 'coveralls',
  pattern: ':vcsType(github|bitbucket)/:user/:repo',

EDIT:
Tested locally,
http://localhost:8080/coveralls/github/badges/shields
correctly redirects to:
http://localhost:8080/coverallsCoverage/github/badges/shields.svg
Zrzut ekranu 2022-11-20 o 14 27 12

Redirect for the option with specified branch also works correctly:
http://localhost:8080/coveralls/github/badges/shields/master ->
http://localhost:8080/coverallsCoverage/github/badges/shields.svg?branch=master

Zrzut ekranu 2022-11-20 o 14 40 45

@shields-ci
Copy link

shields-ci commented Nov 20, 2022

Messages
📖 ✨ Thanks for your contribution to Shields, @PaulaBarszcz!

Generated by 🚫 dangerJS against 6905064

@calebcartwright calebcartwright added the service-badge Accepted and actionable changes, features, and bugs label Nov 21, 2022
@chris48s chris48s added the bug Bugs in badges and the frontend label Nov 22, 2022
@chris48s
Copy link
Member

Good catch - thanks for following up 👍

@repo-ranger repo-ranger bot merged commit 3efe143 into badges:master Nov 22, 2022
@PaulaBarszcz PaulaBarszcz deleted the coveralls-fix branch November 23, 2022 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs in badges and the frontend service-badge Accepted and actionable changes, features, and bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants