Fix CI workflow triggers to match default branch - #17
Merged
Conversation
The CI workflow only ran on pushes and pull requests targeting 'master', but the repository's default branch is 'main', so the workflow never ran at all. Trigger on pushes to main and on all pull requests (so pull requests stacked on other branches still get checks), and point the README badge at the main branch. Assisted-by: opencode/anthropic.claude-fable-5 Signed-off-by: Ben Fairless <ben@oaf.org.au>
benrfairless
force-pushed
the
bugfix/fix-ci-trigger
branch
from
August 12, 2026 03:00
3a5ffa7 to
25c1c51
Compare
ianheggie-oaf
approved these changes
Aug 12, 2026
ianheggie-oaf
left a comment
Member
There was a problem hiding this comment.
Approved - LGTM at a glance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes the CI workflow triggers in
.github/workflows/ci.yml. The workflow was configured to run on pushes and pull requests targetingmaster, but this repository's default branch ismain, so CI never ran. It now runs on pushes tomainand on all pull requests (no base-branch filter, so stacked pull requests also get checks). Also points the README CI badge at themainbranch so it reflects real status.Motivation and Context
CI added in #15 has never actually executed because of the branch name mismatch — every PR and push has silently skipped checks. This is the smallest possible fix and is a prerequisite for the follow-up modernisation PRs, which rely on CI feedback.
How Has This Been Tested?
Workflow-only change: verified by the CI run on this very pull request (previously no runs triggered at all).
Screenshots (if appropriate):
N/A
Types of Changes
Checklist:
Part 1 of a 5-PR modernisation series (merge order: this one first).
Assisted-by: opencode/anthropic.claude-fable-5