| Age | Commit message (Collapse) | Author |
|
The previous single-job approach with a 4-shard matrix caused PRs to
spin up 4 identical runners all building the same changed files.
Split into two jobs:
- analyze-pr: runs only on pull_request, single runner, builds changed
samples via Build-ChangedSamples.ps1. No shard matrix overhead.
- analyze: runs on push/schedule, 4-shard matrix, each shard builds its
slice of all samples. Also drops the now-unnecessary 'get-changed-files'
step from the push path.
Co-authored-by: Copilot <[email protected]>
|
|
GitHub Actions expressions don't support arithmetic operators so
'matrix.shard + 1' was invalid. Switch the matrix to [1, 2, 3, 4]
so the job name, step name, and log output all read '1 of 4' through
'4 of 4'. The PowerShell script subtracts 1 locally for the 0-based
slice math.
Co-authored-by: Copilot <[email protected]>
|
|
- Job name and step name now show '1 of 4' through '4 of 4' (shard+1)
instead of '0' through '3 of 4' which looked like an off-by-one bug
- Move build-mode back into the matrix (was there before sharding) so it
remains explicit and consistent with the original workflow structure
Co-authored-by: Copilot <[email protected]>
|
|
Co-authored-by: Copilot <[email protected]>
|
|
Split samples alphabetically into 4 equal shards using ListAllSamples.ps1
and run each on a separate machine in parallel. ThrottleLimit stays 1 per
shard for accurate CodeQL tracing. Each shard uploads SARIF with a
distinct category (shard-0..shard-3) so results merge in the Security tab.
On PRs the existing Build-ChangedSamples behavior is preserved (no sharding
needed since only changed files are built).
Co-authored-by: Copilot <[email protected]>
|
|
Build-AllSamples.ps1 was removed in favor of Build-Samples.ps1.
Co-authored-by: Copilot <[email protected]>
|
|
user/jvalesmena/new-build-samples
# Conflicts:
# Build-AllSamples.ps1
# Build-SampleSet.ps1
|
|
- Inline Build-Sample.ps1 logic as Build-SingleSample function in Build-Samples.ps1
- Pass function definition into parallel runspaces via $using: pattern
- Replace exit codes with return values for in-process execution
- Delete Build-Sample.ps1 (no longer needed as a separate script)
- Update Build-ChangedSamples.ps1 trigger file list
|
|
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
|
|
|
|
interpolation
Co-authored-by: 5an7y-Microsoft <[email protected]>
|
|
Added 'if: false' to the job to prevent it from running while preserving the code.
Co-authored-by: Copilot <[email protected]>
|
|
|
|
|
|
|
|
|
|
adding workflow to bulk cleanup stale issues older than 1 year
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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>
|
|
Develop to main
|
|
* 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
|
|
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]>
|
|
* 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
|
|
* Update Code-Scanning.yml
|
|
/.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]>
|
|
* 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
|
|
* Upgrade NuGet to 10.0.26100.1591
|