Skip to content

Point the workflow triggers at the actual default branch - #23

Merged
imranakram merged 1 commit into
masterfrom
fix/workflow-branch-triggers
Sep 7, 2026
Merged

imranakram merged 1 commit into
masterfrom
fix/workflow-branch-triggers

Conversation

@imranakram

Copy link
Copy Markdown
Owner

What

Build and Test triggered on main, vNext and develop. This repository's default
branch is master, and neither main nor develop exists on the remote — so the
workflow never ran, on pushes to master or on pull requests targeting it. PR #22 merged
with no checks for that reason.

Both trigger blocks now list master and vNext. develop is dropped rather than
renamed; there is no such branch.

Also

publish-nuget.yml is unaffected by the trigger bug — a tag trigger is not branch-scoped,
so on: push: tags: ['v*.*.*'] fires regardless. But its GitHub Release body linked to
blob/main/CHANGELOG.md, which 404s on a master repository. Corrected to blob/master/.

Verification

Workflow YAML only; no source, project or package change. Merging this makes the PR itself
the first run of Build and Test on this repository — see the checks below.

The Build and Test workflow triggered on main, vNext and develop. This
repository's default branch is master, and neither main nor develop
exists, so the workflow never ran - not on pushes to master and not on
pull requests targeting it. PR #22 merged with no checks for that
reason.

Both trigger blocks now list master and vNext. The publish workflow is
unaffected by this, since a tag trigger is not branch-scoped, but its
GitHub Release body linked to blob/main/CHANGELOG.md, which 404s on a
master repository; that path is corrected too.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@imranakram
imranakram merged commit 665905b into master Sep 7, 2026
1 check passed
@imranakram
imranakram deleted the fix/workflow-branch-triggers branch September 7, 2026 13:28
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

Successfully merging this pull request may close these issues.

1 participant