Add Microsoft Defender scan job to release workflow#35482
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot make recompile |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done — |
There was a problem hiding this comment.
Pull request overview
Adds a Microsoft Defender antivirus scan job to the release workflow that gates sync_actions on a clean scan of the Windows release binaries produced by push_tag.
Changes:
- New
defenderjob onwindows-latestthat downloads the release binaries, updates Defender signatures, and runs a custom scan onwindows-*.exe. sync_actions(and the generatedconclusionjob) now depend ondefender.- Regenerated
release.lock.ymlwith updated frontmatter hash and prompt/config heredoc tokens.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/release.md |
Adds the defender job and inserts it into sync_actions's needs. |
.github/workflows/release.lock.yml |
Regenerated compiled workflow reflecting the new job and dependency edges. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
|
|
|
@copilot merge main, reuse script in https://github.com/github/gh-aw/pull/35494/changes#diff-08b5a29e2592fd426534bc3ad60f60e3cb72fa2d6730530dc6a6284a12bd7438L1632 to run defender and recompile |
…job-release-md Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…recompile Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done — merged
|
Windows release binaries need antivirus validation before shipping. Adds a
defenderjob that gatessync_actionson a clean Defender scan of the Windows binaries produced bypush_tag.Changes
New
defenderjob (windows-latest, needspush_tag):MpCmdRun.exepath dynamically withProgramFiles(x86)fallbackwindows-*.exebinary:GITHUB_WORKSPACEbefore scanning-Scan -ScanType 3 -File -DisableRemediationMpCmdRunoutput to detect skipped/excluded scans and threat indicators (not just exit code)sync_actionsnow listsdefenderin itsneeds, blocking the manual approval gate until the scan passes