Skip to content

[Repo Assist] Add CI build check workflow for PRs and pushes #44

Description

@github-actions

🤖 This is an automated PR from Repo Assist.

Problem

The repository has no continuous integration check that runs on pull requests or pushes to master. The only workflow (build.yml) is triggered by tag push or manual dispatch, so compile errors can land on master undetected.

Change

Adds .github/workflows/ci.yml — a lightweight build check that runs on every push to master and every PR targeting master.

What it does:

  • Restores NuGet packages (cached by actions/cache keyed on *.csproj hash)
  • Runs dotnet build in Debug configuration
  • Uses windows-latest (required because the project targets net10.0-windows / WPF)

What it intentionally does not do:

  • No signing (Azure credentials not available in PR context)
  • No publishing / artifact upload (that stays in build.yml for releases)
  • No --no-restore on first run (needs the cache to warm up)

Why this is valuable

With several open Repo Assist PRs touching AppSettings.cs, MainWindow.xaml.cs, and other core files, a compile-time gate on PRs ensures no PR silently breaks the build before a maintainer reviews it. Once the test project PR (#42) is merged, a dotnet test step can be added here with a single line.

Test Status

  • CI workflow syntax: valid YAML, verified by dotnet steps matching the existing build.yml patterns
  • No runtime test possible: WPF project requires windows-latest runner; this environment is Linux only
  • Build will be exercised when this PR triggers the new workflow on push

Warning

Protected Files — Push Permission Denied

This was originally intended as a pull request, but the patch modifies protected files. A human must create the pull request manually.

Protected files

The push was rejected because GitHub Actions does not have workflows permission to push these changes, and is never allowed to make such changes, or other authorization being used does not have this permission.

Create the pull request manually
# Download the patch from the workflow run
gh run download 27388784363 -n agent -D /tmp/agent-27388784363

# Create a new branch
git checkout -b repo-assist/eng-ci-build-check-2026-06-12-b8f60b61a216eb65 master

# Apply the patch (--3way handles cross-repo patches)
git am --3way /tmp/agent-27388784363/aw-repo-assist-eng-ci-build-check-2026-06-12.patch

# Push the branch and create the pull request
git push origin repo-assist/eng-ci-build-check-2026-06-12-b8f60b61a216eb65
gh pr create --title '[Repo Assist] Add CI build check workflow for PRs and pushes' --base master --head repo-assist/eng-ci-build-check-2026-06-12-b8f60b61a216eb65 --repo shanselman/WindowsEdgeLight

Note

🔒 Integrity filter blocked 2 items

The following items were blocked because they don't meet the GitHub integrity level.

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by Repo Assist · ● 1.1M ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@cbb46ab386962aa371045839fc9998ee4e97ca64

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions