Skip to content

Update GitHub action to use Checkout version 7 (checkout@v7) & msbuil… - #28

Merged
Brett208 merged 1 commit into
masterfrom
UpdateGitHubWorkflow
Sep 13, 2026
Merged

Brett208 merged 1 commit into
masterfrom
UpdateGitHubWorkflow

Conversation

@Brett208

Copy link
Copy Markdown
Member

…d version 3 (setup-msbuild@v3)

Also remove specific instructions on which branches the action activates because default settings are sufficient

…d version 3 (setup-msbuild@v3)

Also remove specific instructions on which branches the action activates because default settings are sufficient
@Brett208
Brett208 merged commit eb746f5 into master Sep 13, 2026
4 checks passed
@Brett208
Brett208 deleted the UpdateGitHubWorkflow branch September 13, 2026 23:13
Comment on lines 4 to -7
push:
branches: [ main, master, '**' ]
pull_request:
branches: [ main, master ]

@DanRStevens DanRStevens Oct 4, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably good to remove the branch filter. I usually have every branch build on push.

I don't normally bother with pull_request builds. They don't tend to be super useful if there is only a single development branch open at any given time, or only one developer actively working on a project. Assuming nothing has been merged to the base branch since the current branch was opened (or last rebased), a PR build won't really differ from a branch build. Additionally the PR builds don't start until a PR is opened, which means you have to wait for builds after opening a PR, whereas branch builds start earlier and are often done by the time a PR is opened.

Edit:
Also, when there are multiple branches open or multiple active developers on a project, PR builds tend to become stale anyway, especially if review takes awhile. I find rebasing a branch and relying on branch builds to be more reliable.

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.

2 participants