thombruce / toodles

✅ A super simple todo app
https://toodles.thombruce.com/
GNU General Public License v3.0
0 stars 0 forks source link

Fix CI badge to main branch #43

Closed thombruce closed 1 year ago

thombruce commented 1 year ago

See "Using the branch parameter" here: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge#using-the-branch-parameter

![example branch parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?branch=feature-1)

We expect test failures on PRs and WIP branches; this doesn't indicate that the main branch is failing and the badge should reflect the state of the main branch.