Skip to content

Automate dependency maintenance and prepare WinGet submission - #24

Merged
harder merged 6 commits into
mainfrom
codex/automation-winget-submission
Oct 5, 2026
Merged

harder merged 6 commits into
mainfrom
codex/automation-winget-submission

Conversation

@harder

@harder harder commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

Changes

  • Cover NuGet projects, GitHub Actions, and the pinned .NET SDK with Dependabot, lock files, grouped critical package updates, dependency review, and CodeQL (including Dependabot PRs).
  • Monitor Terminal.Gui develop prereleases and WinGet stable/preview releases; create assigned, deduplicated issues with compatibility checks and Copilot review prompts.
  • Gate releases on tag/version validation, tests, x64/ARM64 AOT builds, required COM files, signing configuration, checksums, and provenance attestations. Reject reruns of published tags and prevent asset overwrites.
  • Publish the portable ZIPs as the initial WinGet package. Download the released ZIP bytes before generating the three-file community manifest set.
  • Document the current ZIP signing status, later signed MSIX path, Azure Artifact Signing setup, PATH behavior, and one-command manifest preparation.

Validation

  • 311 .NET tests passed in the earlier PR update.
  • Node dependency-monitor test, actionlint, PowerShell script parse, and diff checks passed for this update.
  • Windows ARM64 and x64 Native AOT publish, COM companion checks, and mock startup passed in CI before this update.
  • winget validate accepted a generated manifest set from synthetic ZIP assets in the earlier PR update.

After merge

Cut a new versioned release. Its successful workflow run will provide winget-manifests-<version>; packaging/prepare-winget-submission.ps1 can regenerate the same manifest set from the published ZIPs. Test install, upgrade, and uninstall in Windows Sandbox before submitting the YAML files to microsoft/winget-pkgs.

Copilot AI balanced review requested due to automatic review settings October 4, 2026 20:32
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

CI execution, dependency-version handling, and prerelease manifest generation contain blockers that need correction.

Review effort: Balanced
Findings: 2 High severity · 2 Medium severity

Open (4)
What changed in this PR

This PR automates Scout’s dependency maintenance and strengthens release packaging ahead of WinGet community submission.

Changes:

  • Adds dependency monitoring, lock files, and security checks.
  • Gates releases on validation, native builds, signing configuration, and artifact checks.
  • Generates portable-package WinGet manifests and documents submission.
File Description
tests/​packages.lock.json Locks test dependencies.
README.md Clarifies WinGet availability and signed MSIX downloads.
packaging/​WINGET-SUBMISSION.md Documents community submission and validation.
packaging/​new-winget-manifest.ps1 Generates manifests from checked release ZIPs.
packages.lock.json Locks application and native-build dependencies.
code-signing.md Documents signing configuration and limitations.
.github/​workflows/​release.yml Adds release gates, attestations, and manifest generation.
.github/​workflows/​critical-dependencies.yml Schedules upstream dependency monitoring.
.github/​workflows/​codeql.yml Adds C# and Actions security analysis.
.github/​workflows/​ci.yml Adds dependency review and native compatibility checks.
.github/​scripts/​critical-dependencies.test.js Tests monitoring and issue deduplication.
.github/​scripts/​critical-dependencies.js Creates release-specific compatibility issues.
.github/​dependabot.yml Expands coverage and groups related updates.
.github/​copilot-instructions.md Adds repository-specific review guidance.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/release.yml Outdated
Comment thread .github/scripts/critical-dependencies.test.js Outdated
Comment thread packages.lock.json

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

Release integrity and security-scanning issues remain, while signed MSIX publication and portable upgrades need human validation.

Review effort: Balanced
Findings: 1 High severity

Open (1)
Resolved since last review (4)
Previously missed (1)

In code that hasn't changed since last review

Medium severity Run CodeQL analysis on Dependabot pull requests

.github/​workflows/​codeql.yml:19

This guard skips both CodeQL analyses on every Dependabot PR, including Actions updates. GitHub permits SARIF uploads from pull_request runs with Dependabot's read-only token; the push-event restriction does not apply here. Allow pull-request runs through the guard so dependency updates receive security analysis before merging.

Comment thread .github/workflows/release.yml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

  • Copilot's review of this pull request may be incomplete because some of the changed files are excluded by your Copilot content exclusion settings. See Excluding content from Copilot for details.

Copilot review overview

🟡 Changes recommended

Release publication and draft recovery remain unsafe, and MSIX builds bypass locked dependency restoration.

Review effort: Balanced
Findings: 2 High severity · 1 Medium severity

Open (3)
Resolved since last review (1)
Files excluded by content exclusion policy (1)
  • .gitignore

Comment thread .github/workflows/release.yml Outdated
Comment thread .github/workflows/release.yml
Comment thread .github/workflows/release.yml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

  • Copilot's review of this pull request may be incomplete because some of the changed files are excluded by your Copilot content exclusion settings. See Excluding content from Copilot for details.

Copilot review overview

🔵 Needs a closer look

Release publication, signing, and WinGet installation and upgrade behavior need final human validation on Windows.

Review effort: Balanced
Findings: None

Resolved since last review (3)
Files excluded by content exclusion policy (1)
  • .gitignore

@harder
harder merged commit f5af657 into main Oct 5, 2026
11 checks passed
@harder
harder deleted the codex/automation-winget-submission branch October 5, 2026 02:31
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.

3 participants