R-CMD-CHECK GitHub badge not updating status

Hello,

We currently have the following R-CMD-CHECK workflow for one of our packages

All checks have passed in the last update on our dev branch (which also triggers the workflow), however our check badge is not updating its status on the README

We have no idea why this is happening, so we'd appreciate any guidance you might be able to offer. Thanks in advance.

Best,
D

From the GitHub Actions interface, at the top right if you click on the three dots you can "Create status badge". The menu that appears lets you choose for which branch you want the badge. By choosing "dev" I get:

[![R-CMD-check](https://github.com/open-AIMS/bayesnec/actions/workflows/R-CMD-check.yaml/badge.svg?branch=dev)](https://github.com/open-AIMS/bayesnec/actions/workflows/R-CMD-check.yaml)

Which is green. :vertical_traffic_light:

1 Like

Thanks @maelle for such a quick response! So is this only triggered automatically if it's on master/main? Is there a way (address structure) to allow the badge to be updated from any check run?

This badge will be updated from any check run on the dev branch if I followed correctly. :slightly_smiling_face:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.