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

Workflow badges not updating? #628

Open
IndrajeetPatil opened this issue Oct 3, 2023 · 9 comments
Open

Workflow badges not updating? #628

IndrajeetPatil opened this issue Oct 3, 2023 · 9 comments

Comments

@IndrajeetPatil
Copy link
Member

I am not sure if it's a bug with GitHub or there is something amiss with bayestestR, but the badges are not updating to show the current status of the workflows. E.g. all workflows are passing right now, and yet the badges still show that they are failing. That shouldn't happen.

E.g. https://github.com/easystats/bayestestR/workflows/R-CMD-check-strict/badge.svg

Screenshot 2023-10-03 at 12 09 30
@strengejacke
Copy link
Member

I guess this just takes some time?

@IndrajeetPatil
Copy link
Member Author

It's still failing. I am pretty sure something is off here. @etiennebacher Do you have any hunches?

@etiennebacher
Copy link
Member

Some people had the same issues and apparently fixed it by deleting the previous runs that failed (maybe github actions cache is not updated?)

actions/runner#1830

@IndrajeetPatil
Copy link
Member Author

Thanks, @etiennebacher.

I have deleted caches and have retriggered the workflows. Let's see if the badges update now. 🤞

@IndrajeetPatil
Copy link
Member Author

Hmm, still not working. So strange. We are not doing anything special for bayestestR, so why would they not be working only for this repo?!

@IndrajeetPatil
Copy link
Member Author

Actually, that's not true. Even the easystats meta-package badges are also not up-to-date 👀

https://easystats.github.io/dashboard/dashboard.html#workflow-status

E.g. this should be green ATM: https://github.com/easystats/easystats/workflows/check-random-test-order/badge.svg

@etiennebacher
Copy link
Member

I suspect it's something internal to github actions, they had some issues recently (not related to badges, but there could be some caching issues on their side): https://www.githubstatus.com/history

@rempsyc
Copy link
Member

rempsyc commented Oct 5, 2023

I recently experienced the same thing on my new package pubmedDashboard and the trick was to change the URL of the badge by going to the workflow and manually creating a new badge URL for the R CMD check workflow. I can share the exact link later if that would be useful. But that would require changing the README of all easystats packages…

@mahula
Copy link

mahula commented Feb 17, 2024

Hello @IndrajeetPatil,
when you visit the R-CMD-check-strict worlflow page in your repository and
choose the Create status badge menu, you can just copy the correct link for the badge, which works fine and show, that the last R-CMD-check-strict run was successful.
badge

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

No branches or pull requests

5 participants