I have a test workflow enabled for all pushes and pull requests, but I want to limit the README status badge to the master branch, so I used the branch=master parameter:
However, the badge says “no status” although the head of master branch definitely had a successful test workflow run.
Limiting to another branch works:
What’s going on?
Note that the head of the master branch is at the moment the same commit as the head of the github-actions branch, which was pushed to GitHub first, and then merged into the master branch. Maybe the same-commit-from-another-branch situation triggered a bug in the system?
The commit at question: https://github.com/zmwangx/miller-rabin/commit/198d65f02d3799786a51800888b7797e14989885