Skip to content

[Repo Assist] ci: add CI build workflow for push and pull requests #87

Description

@github-actions

🤖 This PR was created by Repo Assist, an automated AI assistant.

Adds a lightweight CI build workflow (.github/workflows/ci.yml) that runs dotnet build for both win-x64 and win-arm64 on every push to master and every pull request targeting master.

Motivation

Currently the only CI workflow is build.yml, which runs only on tag pushes (for releases). There is no automated check to catch compile errors on regular commits or PRs. This has led to situations where bugs could slip in undetected.

Changes

  • New file: .github/workflows/ci.yml
    • Triggers on: push to master, pull_request to master
    • Skips runs for documentation-only changes (*.md, docs/**)
    • Builds both x64 and ARM64 targets in Release configuration
    • Uses contents: read permission only (no secrets needed)

Test Status

✅ Build verified locally on Linux with dotnet build -p:EnableWindowsTargeting=true
The CI workflow itself will run on Windows-hosted runners where WPF targeting is natively supported.

Trade-offs

  • Adds a few minutes of CI time per push/PR, but on windows-latest this is typically ~2-3 min for a build-only job (no signing, no publish).
  • Does not run tests (there are none yet), but catches compile errors early.

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 28241004901 -n agent -D /tmp/agent-28241004901

# Create a new branch
git checkout -b repo-assist/eng-ci-build-2026-06-26-09949c776da7bd7d master

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

# Push the branch and create the pull request
git push origin repo-assist/eng-ci-build-2026-06-26-09949c776da7bd7d
gh pr create --title '[Repo Assist] ci: add CI build workflow for push and pull requests' --base master --head repo-assist/eng-ci-build-2026-06-26-09949c776da7bd7d --repo shanselman/WindowsEdgeLight

Note

🔒 Integrity filter blocked 2 items

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

  • #68 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #26 list_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

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

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

Generated by Repo Assist · ● 3.7M ·

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