Skip to content

Conversation

@watermann420
Copy link
Owner

Motivation

  • Ensure CI builds for WPF/WinForms projects by installing the Windows Desktop workload before building on Windows runners.
  • Automatically enable GitHub auto-merge for eligible pull requests to reduce manual merges for changes targeting the main/master branches.

Description

  • Add dotnet workload install windowsdesktop to the Windows job in .github/workflows/ci.yml so WPF/WinForms workloads are available during the CI build.
  • Add a new workflow .github/workflows/auto-merge.yml that listens to PR events, completed check_suite, and workflow_run for CI and enables squash auto-merge via the GitHub GraphQL API for non-draft PRs.
  • The auto-merge workflow only enables auto-merge for PRs targeting main or master and skips PRs from forks or draft PRs.
  • Grant the workflow contents: write and pull-requests: write permissions to allow enabling auto-merge.

Testing

  • No automated tests were run locally because these are GitHub Actions workflow changes and validation will occur when the workflows run in GitHub Actions.

Codex Task

@watermann420 watermann420 merged commit 5a9f4ce into main Feb 2, 2026
0 of 2 checks passed
@watermann420 watermann420 deleted the codex/fix-build-failure-on-git branch February 3, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant