summaryrefslogtreecommitdiff
path: root/.github/workflows
AgeCommit message (Collapse)Author
2026-06-23Allow manual runs of the build-all workflow (workflow_dispatch)5an7y
Add a workflow_dispatch trigger so "Build all driver samples" can be started on demand from the Actions tab. Co-authored-by: Copilot <[email protected]>
2026-06-23Auto-discover _NT_TARGET_VERSION; remove the TargetVersion axis5an7y
- Remove the -TargetVersion parameter and all its plumbing from Build-Samples.ps1 (restoring the original hard-coded -p:TargetVersion=Windows10), and drop the TargetVersions column from exclusions.csv and Import-SampleExclusions. Only _NT_TARGET_VERSION remains exposed. - Add Get-NtTargetVersions.ps1, which auto-discovers the valid _NT_TARGET_VERSION values (and their NTDDI codes) by parsing the active WDK's DriverGeneral.xml rule. Build-Samples.ps1 uses it to validate -NtTargetVersion, default to the latest, and map to the msbuild code, so a new WDK version needs no script change (accepts '10.0.<build>' or the short '<build>' tag). - CI: ci.yml and ci-pr.yml gain a 'discover' job that emits the newest-N versions as JSON; the build matrix consumes it via fromJSON, so there is no hand-maintained version list anywhere. Build-ChangedSamples.ps1 treats Get-NtTargetVersions.ps1 as a full-build trigger. - Docs updated accordingly. Co-authored-by: Copilot <[email protected]>
2026-06-22Add NT-version-scoped exclusions and a parallel multi-version CI matrix5an7y
Exclusions: - Add MinNtTargetVersion/MaxNtTargetVersion columns to exclusions.csv so a row can apply only within an _NT_TARGET_VERSION build-number range (parsed from -NtTargetVersion, e.g. 22000 from 10.0.22000). Import-SampleExclusions filters this range at load time alongside the existing build-number range; blank = unbounded. - Exclude the samples that fail only when linking against older library sets, with the reason taken from the build logs: audio.sysvad (<=22000, KSJACK_DESCRIPTION3); network.netadaptercx.netvadapter and network.wlan.wificx (<=22621, NDIS/DDI version); powerlimit.plclient/plpolicy (<=22621, POWER_LIMIT_ATTRIBUTES); storage classpnp/storahci (<=22621, STOR_ADDRESS_TYPE_NVME, Debug-only) and storage.msdsm (Debug|x64). usb.usbview is intentionally NOT excluded: it fails on every version for a known host reason (missing .NET 4.7.2/4.8.1 targeting packs). CI: - ci.yml and ci-pr.yml: add _NT_TARGET_VERSION as a manual matrix axis (4 newest versions, latest-first) so each version x configuration x platform runs on its own parallel runner. - Build-Samples.ps1 and Join-CsvReports.ps1 now write an easy-to-scan Markdown summary to GITHUB_STEP_SUMMARY: each build job shows counts and a failures table with the first error; the report job shows per-version totals and a consolidated failures list, plus the colour-coded sample x version HTML/CSV overview. Co-authored-by: Copilot <[email protected]>
2026-05-21Change runner to windows-2025-vs2026 for analysis job5an7y-Microsoft
2026-05-06Update CI workflow to use Windows 20255an7y-Microsoft
2026-05-06Update CI workflow to use Windows 2025 environment5an7y-Microsoft
2026-03-31Merge pull request #1365 from microsoft/develop5an7y-Microsoft
RI Develop to Main
2026-03-31ci: update Code-Scanning workflow to use Build-Samples.ps15an7y
Build-AllSamples.ps1 was removed in favor of Build-Samples.ps1. Co-authored-by: Copilot <[email protected]>
2026-03-30Merge remote-tracking branch 'origin/develop' into ↵5an7y
user/jvalesmena/new-build-samples # Conflicts: # Build-AllSamples.ps1 # Build-SampleSet.ps1
2026-03-30Remove Build-AllSamples.ps1 and Build-SampleSet.ps1 in favor of ↵5an7y
Build-Samples.ps1 - Delete Build-AllSamples.ps1 and Build-SampleSet.ps1 (replaced by Build-Samples.ps1) - Update ci.yml workflow to call Build-Samples.ps1 - Update Build-ChangedSamples.ps1 to call Build-Samples.ps1 - Rewrite Building-Locally.md Step 6 with new script usage and output format - Update Step 7 NuGet notes to reference Build-Samples.ps1
2026-03-26removing unused workflowJunyan Liu (Centific Technologies Inc)
2026-03-26removing unused workflowJunyan Liu (Centific Technologies Inc)
2026-03-20Bump tj-actions/changed-files from 41 to 46 in /.github/workflowsdependabot[bot]
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 46. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v41...v46) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-version: '46' dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
2026-03-13Fix RCE vulnerability: pass issue body/number via env vars instead of direct ↵copilot-swe-agent[bot]
interpolation Co-authored-by: 5an7y-Microsoft <[email protected]>
2026-02-26Disable tag-codeowner-on-issue workflow5an7y
Added 'if: false' to the job to prevent it from running while preserving the code. Co-authored-by: Copilot <[email protected]>
2025-11-19disable schedule and deleted the closing issue partuser/vjunyli/disableWorkflowJunyan Liu (Centific Technologies Inc)
2025-11-08reversing the PAT_TOKEN and dry-run changeuser/vjunyli/FixStaleWFJunyan Liu (Centific Technologies Inc)
2025-11-08use PAT_TOKEN and add dry-run for testing purpose.Junyan Liu (Centific Technologies Inc)
2025-11-07Increase operations-per-run to 400 and the stale threshold from 7 to 31Junyan Liu (Centific Technologies Inc)
2025-10-17Merge pull request #1331 from microsoft/user/vjunyli/BulkCloseIssuesv-junyli
adding workflow to bulk cleanup stale issues older than 1 year
2025-10-03Update triggers5an7y-Microsoft
2025-09-29adding workflow to bulk cleanup stale issues older than 1 yearuser/vjunyli/BulkCloseIssuesJunyan Liu (Centific Technologies Inc)
2025-08-11Rename 'generate' -> 'check'5an7y
2025-08-11sample-issue creates error instead of push5an7y
2025-08-11Reference PR headJose Santiago Vales Mena
2025-08-11Merge branch 'microsoft:main' into mainJose Santiago Vales Mena
2025-07-25fixing schedulev-junyli
2025-07-25fixing the schedulev-junyli
2025-07-16Merge branch 'main' into mainJose Santiago Vales Mena
2025-07-14Merge branch 'main' into mainJose Santiago Vales Mena
2025-07-14Fix selected path bug5an7y
2025-07-14Selected path bug fix5an7y
2025-07-14Made the query more efficient5an7y
2025-07-14adding a schedule to build-all-samples workflowuser/vjunyli/workflowschedulev-junyli
2025-07-03Correct regex expression5an7y
2025-07-03import requests module5an7y
2025-06-27Action to auto tag the codeowner.5an7y
2025-06-27Action to auto generate the sample issues template5an7y
2025-05-07Bump tj-actions/changed-files from 41 to 46 in /.github/workflows (#1283)dependabot[bot]
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 46. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v41...v46) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-01Merge pull request #1282 from microsoft/developv-junyli
Develop to main
2025-03-24Update Code-Scanning.yml to use latest windows-drivers pack (#1277)Jacob Ronstadt
* Update Code-Scanning.yml to use latest windows-drivers pack * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml: reduce duplacate code
2025-03-23Bump tj-actions/changed-files from 41 to 46 in /.github/workflowsdependabot[bot]
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 46. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v41...v46) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
2025-03-19update workflow files to split codeql analysis for push and PR (#1273)Jacob Ronstadt
* update workflow files to split codeql analysis for push and PR * test changing a file * remove build all option in script for testing. * Revert "remove build all option in script for testing." This reverts commit 04eb2c34aac69545b56ff86b6d642e453bde89f0. * Revert "test changing a file" This reverts commit d69205126f62ad44af4c5e3b64f1f14637116ea2. * combine pr and push analysis files to remove warning about not having on.push trigger. include script changes and file change for testing * remove test changes
2024-09-25Code scanning updates (#1) (#1221)Jacob Ronstadt
* Update Code-Scanning.yml
2024-09-24Bump actions/download-artifact & actions/upload-artifact from 3 to 4 in ↵dependabot[bot]
/.github/workflows (#1211) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Adonais Romero Gonzalez <[email protected]>
2024-09-23Deprecate WDK VSIX Install (#1219)Matt
* Deprecate WDK vsix install * Fix WDK extension version print * Remove unecessary splitting on version * Minor build info refactor * Fix indentation of output info * Enough messing with volume size output * Cleanup comment for vsix version * More cleanup and doc update * Remove deprecation statement and install vsix script. * Fixes and updates to building locally documentation. * Dont code scan on license or .md files. * Code scanning ignore changes to .md when pull request is made
2024-06-28RI develop to main (#1189)JakobL-MSFT
* Memory leakage in message "sizeof(SCANNER_MESSAGE) * threadCount * requestCount" bytes long memory is allocated but only "sizeof(SCANNER_MESSAGE) * threadCount" bytes long of it is freed. * Handles malloc function fail case * Refactors comment line * Solves the miscalculation of the message index * simbatt: Fix broken registry read-back The GetSimBattStateFromRegistry function is currently using default settings if GetSimBattStateFromRegistry succeeds, whereas settings from registry are only applied if GetSimBattStateFromRegistry fails. This does not make sense to me. Therefore proposing to remove the `!` negation from `if (!NT_SUCCESS(Status)) {` on the line after `Status = GetSimBattStateFromRegistry(Device, RegState);` so that default settings are loaded when registry read-back fails. * Issue of freeing memory without waiting completion of threads accessing it is fixed * Fixes information leakage warning Fixes the issue of possible information leakage from uninitialized padding bytes * Avoids possible multiplication overflow warning * Avoids possible multiplication overflow warning * CI Pipelines build with WDK Nuget Packages (#1179) Integrate nuget into the workflow pipelines * FI from main to develop (#1188) Fix text and minor issues in Winget configuration files Co-authored-by: Adonais Romero Gonzalez <[email protected]> * Improve version info, vsix installation, and update building locally readme * Fix printing vsix version * Refactored vsix install and cleaned up build sampleset --------- Co-authored-by: İsa Yurdagül <[email protected]> Co-authored-by: Fredrik Orderud <[email protected]> Co-authored-by: Christian Allred <[email protected]> Co-authored-by: tristanb-ntdev <[email protected]> Co-authored-by: Matt <[email protected]> Co-authored-by: Adonais Romero Gonzalez <[email protected]>
2024-03-05Update jobs to use Node.js 20 (#1134)Jacob Ronstadt
* Update Code-Scanning.yml actions/checkout to v4 and microsoft/setup-msbuild to v2 * Update ci-pr.yml to use node20 * Update ci.yml to use node20
2024-02-05Update codeql code scanning to add microsoft/windows-drivers queries (#1098)Jacob Ronstadt
* test code scanning with new package * update code scanning file. test without building * fix typo * add back build step * Update Code-Scanning.yml * Update Code-Scanning.yml * Update Code-Scanning.yml
2024-01-29Bump tj-actions/changed-files from 35 to 41 in /.github/workflows (#1067)dependabot[bot]
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 35 to 41. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v35...v41) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>