Repository navigation
Releases
v18.0.10
What's Changed
-
Remove mu\_feature\_uefi\_variable references Michael Kubacki (@makubacki) (#621)
Change Details
The [microsoft/mu_feature_uefi_variable](https://github.com/microsoft/mu_feature_uefi_variable) repository has been archived, so it no longer needs file syncs and no new PRs can be created there.
-
Replace any remaining mutable version refs Michael Kubacki (@makubacki) (#620)
Change Details
As of December 4th Microsoft will enforce full-length commit SHA pinning across organizations. Workflows using mutable refs (like `@v4`, `@main`, `@latest`) will no longer run.
This change replaces any remaining non-full-length commit SHA references in the repo with full-length commit SHAs.
-
.sync: Treat GitHub action expressions as raw text Michael Kubacki (@makubacki) (#619)
Change Details
Because these are synced templates, the Github action expressions need to be treated as raw text to avoid being treated as Nunjucks template syntax.
Full Changelog: v18.0.9...v18.0.10
v18.0.9
What's Changed
-
Switch PR label and title validation workflows to pull\_request Michael Kubacki (@makubacki) (#616)
Change Details
This PR moves two worfklows off the `pull_request_target` trigger to `pull_request`. A complementary PR will be made in mu_basecore as well.
The label and PR formatting leaf workflows used
pull_request_targetso they could use the GitHub App token.They now trigger on
pull_requestwithout secrets and upload the PR number as a short-lived artifact. Newworkflow_runleaf workflows pick that up and call reusable workflows that hold the token.- Labeler.yml now takes the PR number from the artifact, re-checks the PR state and head SHA through the API, and applies labels. Custom code replaces srvaroa/labeler, which does not support workflow_run. The code evaluates the same type/body rules from the regex config.
- Labeler.yml also handles issues events directly, labeling issues when the config sets "issues: True".
- PullRequestFormattingValidatorPost.yml is added to post comments for PR formatting issues. The title check itself still fails in the
pull_requestjob (secret not needed for that). - The leaf workflows are updated to match the changes made to the files in their synced repos.
This was tested on my fork in makubacki/mu_basecore#109. An intentional failure due to the PR title to verify the comment could be posted successfully was made there.
-
.sync: Change GCC5 to GCC in bug\_report.yml Michael Kubacki (@makubacki) (#613)
Change Details
This was already updated in a few repos to "GCC". This prevents the file sync from changing it back to "GCC5".
-
Version.njk: Update container to latest version (a2acedd) Michael Kubacki (@makubacki) (#610)
Change Details
Updates to the latest container build that includes Rust 1.95.
-
Version.njk: Bump mu\_devops to v18.0.8 Michael Kubacki (@makubacki) (#609)
Change Details
Updates the version synced to the latest mu_devops release version.
-
.sync: Sync mu\_devops commit hashes to workflows Michael Kubacki (@makubacki) (#608)
Change Details
Since Mu now tracks commit hashes and the repo release version, both are tracked in Version.njk and synced to leaf workflows.
The commit hash should be taken from the mu_devops release.
Full Changelog: v18.0.8...v18.0.9
v18.0.8
What's Changed
-
Update Versions.njk and 202608 Aaron (@apop5) (#606)
-
.sync: Pin GitHub Actions to full-length commit SHAs Aaron (@apop5) (#605)
Change Details
This PR pins GitHub Actions to full-length commit SHAs for improved security and reproducibility. This work is described in more detail at https://aka.ms/action-pinning.
-
.github/workflows/Labeler.yml: Pin actions/labeler to a specific commit hash Dan Fiedler (@danfiedler-msft) (#604)
Change Details
## Summary
This PR pins GitHub Actions to full-length commit SHAs for improved security and reproducibility and adds a 7 day cooldown to Dependabot configuration for GitHub Actions. This work is described in more detail at https://aka.ms/action-pinning.
Why?
Pinning actions to commit SHAs prevents supply-chain attacks where a tag could be moved to point to malicious code. This is a recommended security best practice per the GitHub Actions security hardening guide.
This change mitigates the risk of tag retargeting to malicious code as seen in incidents like the tj-actions/changed-files action compromise or codfish/semantic-release-action compromise and improves the integrity and reproducibility of the CI/CD pipeline.
What changed?
Action pinning: Third-party action references in
.github/workflows/that used mutable tag-based references (e.g.,actions/checkout@v4) have been updated to full-length commit SHAs with a version comment (e.g.,actions/checkout@<sha> # v4) using the pinact tool. References that were already pinned to a SHA, or that used immutable release tags, were left unchanged.Dependabot configuration:
.github/dependabot.ymlhas been updated to ensure agithub-actionspackage-ecosystem section is present with acooldownconfiguration (default-days: 7). If the file did not exist, it was created. If agithub-actionssection already existed, only thecooldownblock was added or itsdefault-daysvalue was increased to 7 if it was lower. The 7-day cooldown provides a window for the community to detect and report compromised releases before they are automatically proposed as updates, reducing exposure to supply-chain attacks via newly published malicious versions.Is this safe to merge?
Yes. The pinned SHAs correspond to the same commits that the existing tags pointed to. No behavioral changes in action execution are introduced. You can verify the pinned SHA value using the GitHub REST API (e.g., the commit hash for
actions/checkout@v7can be found in theshaproperty in the JSON response forGET https://api.github.com/repos/actions/checkout/commits/v7).Additional Information
For more information, please see https://aka.ms/action-pinning
</blockquote> <hr> </details>
-
Containers: Install 32-bit development packages for IA32 host tests Aaron (@apop5) (#602)
Change Details
Add the 32-bit libc development packages to the Ubuntu build containers.
The Host Unit Test Compiler Plugin builds IA32 applications with -m32.
Without the 32 bit development headers, C++ standard library includes
eventually fail in linux/errno.h because asm/errno.h cannot be found.Installing these packages provides the required IA32 headers, runtime
libraries, startup objects, and compiler support.Created local docker image for ubuntu-24 and verified that IA32 GCC NOOPT builds completed successfully.
-
Pin GitHub Actions to full-length commit SHAs Microsoft Open Source Security Bot (@OssSecurityBot) (#598)
Change Details
## Summary
This PR pins GitHub Actions to full-length commit SHAs for improved security and reproducibility and adds a 7 day cooldown to Dependabot configuration for GitHub Actions.
Why?
Pinning actions to commit SHAs prevents supply-chain attacks where a tag could be moved to point to malicious code. This is a recommended security best practice per the GitHub Actions security hardening guide.
This change mitigates the risk of tag retargeting to malicious code as seen in incidents like the tj-actions/changed-files action compromise or codfish/semantic-release-action compromise and improves the integrity and reproducibility of the CI/CD pipeline.
What changed?
Action pinning: Third-party action references in
.github/workflows/that used mutable tag-based references (e.g.,actions/checkout@v4) have been updated to full-length commit SHAs with a version comment (e.g.,actions/checkout@<sha> # v4) using the pinact tool. References that were already pinned to a SHA, or that used immutable release tags, were left unchanged.Dependabot configuration:
.github/dependabot.ymlhas been updated to ensure agithub-actionspackage-ecosystem section is present with acooldownconfiguration (default-days: 7). This groups Dependabot PRs for GitHub Actions and enforces a minimum 7-day cooldown between updates. If the file did not exist, it was created. If agithub-actionssection already existed, only thecooldownblock was added or itsdefault-daysvalue was increased to 7 if it was lower. The 7-day cooldown provides a window for the community to detect and report compromised releases before they are automatically proposed as updates, reducing exposure to supply-chain attacks via newly published malicious versions.Is this safe to merge?
Yes. The pinned SHAs correspond to the same commits that the existing tags pointed to. No behavioral changes are introduced. You can verify the pinned SHA value using the GitHub REST API (e.g., the commit hash for
actions/checkout@v7can be found in theshaproperty in the JSON response forGET https://api.github.com/repos/actions/checkout/commits/v7).
For more information, visit https://aka.ms/action-pinning
</blockquote> <hr> </details>
-
Dependabot: Add 7 day cooldown period to dependabot updates. Aaron (@apop5) (#596)
Change Details
This is to improve supply chain security by giving a seven day buffer for malicious dependencies to be reported before Mu repos/platform adopt the dependency.
-
Remove mu\_rust\_helpers and mu\_rust\_pi from the repo Michael Kubacki (@makubacki) (#595)
Change Details
Removes the repos from the .sync/Files.yml file and VS Code notebooks.
These repos will be archived soon.
-
Decrease Update Frequency [Rebase \& FF] Michael Kubacki (@makubacki) (#592)
Change Details
These two commits are intended to reduce the amount of overall effort spent to integrate updates across a large number of Mu repos while still ensuring updates happen on a regular schedule.
.sync: Move dependabot updates to monthly
Given each dependabot update requires two human reviews in over 20
repos, a single dependency can trigger a large amount of CI resource
usage and human distraction.This change moves the dependabot updates to monthly which still allows
updates to be picked up a frequent basis while reducing the amount of
overhead.
.github: Trigger file syncer weekly instead of daily
File syncs can be triggered manually when needed. The timer is more
of a safety net to ensure that the syncer does not accumulate too many
changes before it is run.This changes the schedule to run weekly on Tuesday at 14:00 UTC
in...
v18.0.7
What's Changed
-
Update Ubuntu containers to install QEMU v11 and swtpm kuqin12 (#581)
Change Details
This change updates the container image script to install QEMU v11.
This change also installs
swtpmrather than requiring the consumer pipeline to install it separately.
-
Update NodeTool to UseNode Aaron (@apop5) (#577)
Change Details
NodeTool has been depreciated: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/node-tool-v0?view=azure-pipelines
Update to UseNode@1 and update syntax.
Update to version 24.x to address pipeline warning messages.
-
Update Stale.yml create-github-app-token workflow Joey Vagedes (@Javagedes) (#576)
Change Details
-
Containers: Add gcc-multilib for IA32 cross-compilation support Ansen Huang (@AnsenHuangMSFT) (#572)
Change Details
## Description
The Ubuntu-22 and Ubuntu-24 build container templates (.sync/containers/) are missing several packages required for IA32 cross-compilation and AGESA firmware builds.
Problem
-
IA32 builds fail with atal error: bits/libc-header-start.h: No such file or directory
- GCC uses the -m32 flag for IA32 targets (defined in BaseTools/Conf/tools_def.template)
- This requires 32-bit glibc development headers provided by gcc-multilib / g++-multilib
-
AGESA CBS builds fail with atal error: IdsNvIdWH.h: No such file or directory
- AGESA's AmdCbsPkg/Tools/IdsIdGen.pl uses XML::Simple and XML::Parser to generate header files at build time
- These Perl modules are provided by libxml-simple-perl and libxml-parser-perl
Root Cause
The container images already install cross-compilation toolchains for ARM, AArch64, and RISC-V architectures, but lack:
- The 32-bit x86 multilib packages (on x86_64 hosts, IA32 compilation uses native GCC with -m32 rather than a cross-compiler)
- Perl XML modules needed by AGESA code-generation scripts
Changes
Added to .sync/containers/Ubuntu-22/Dockerfile and .sync/containers/Ubuntu-24/Dockerfile:
- gcc-multilib - 32-bit glibc headers/libs for IA32 builds
- g++-multilib - 32-bit C++ support (tianocore container parity)
- libxml-parser-perl - XML::Parser module for AGESA IdsIdGen.pl
- libxml-simple-perl - XML::Simple module for AGESA IdsIdGen.pl
Testing
Validated against a Project MU AMD platform build targeting IA32+X64 architectures with TOOL_CHAIN_TAG=GCC. Without these packages:
-
Build fails at IA32 compilation (missing 32-bit headers)
-
Build fails at CBS library compilation (missing generated headers from Perl scripts)
</blockquote> <hr>
-
🐛 Bug Fixes
-
Containers: Revert Ubuntu-22 multilib and Perl XML additions Ansen Huang (@AnsenHuangMSFT) (#574)
Change Details
## Description
Reverts the Ubuntu-22 Dockerfile changes from #572. These packages (gcc-multilib, g++-multilib, libxml-parser-perl, libxml-simple-perl) are only needed for the Ubuntu-24 container image.
Why revert Ubuntu-22:
- No known consumer uses Ubuntu-22 for IA32 cross-compilation
- The multilib packages conflict with \gcc-12-x86-64-linux-gnux32\ causing a failure with exit code 100
- The Perl XML modules were added for AGESA CBS header generation which only runs in the Ubuntu-24 pipeline
Changes
- Removes \libxml-parser-perl\ and \libxml-simple-perl\ from Ubuntu-22 Dockerfile template
- Removes \g++--multilib\ and \gcc--multilib\ from Ubuntu-22 Dockerfile template
Testing
Ubuntu-24 container is unaffected (retains all additions from #572).
Full Changelog: v18.0.6...v18.0.7
v18.0.6
What's Changed
-
Update Version.njk mu\_devops to 18.0.6 Doug Flick (@Flickdm) (#568)
Change Details
Updates the Version.njk mu_devops to 18.0.6
-
Add mu\_crypto\_release to CodeQL workflow sync Doug Flick (@Flickdm) (#567)
Change Details
Add microsoft/mu_crypto_release to the leaf CodeQL CI workflow sync list so the repo receives the codeql.yml workflow and gets CodeQL security scanning on push and PR.
-
PackageCi: Enable core.longpaths on Windows runners Doug Flick (@Flickdm) (#566)
Change Details
Add git config --system core.longpaths true after checkout on Windows runners to prevent failures when submodule trees contain filenames exceeding the 260-character Windows path limit.
Without this MU_CRYPTO_RELEASE is failing
Cloning into 'D:/a/mu_crypto_release/mu_crypto_release/MU_BASECORE/SecurityPkg/DeviceSecurity/SpdmLib/libspdm/os_stub/openssllib/openssl/gost-engine/libprov'... error: unable to create file ....</blockquote> <hr> </details>
-
Update robinraju/release-downloader from 1.12 to 1.13 Aaron (@apop5) (#565)
Change Details
Update to address the multiple PRs in mu repos.
-
.sync: Add mm\_supv clangpdb-ci Joey Vagedes (@Javagedes) (#563)
Change Details
Adds `microsoft/mu_feature_mm_supv` to the list of repositories to have the `clangpdb-ci.yml` repo sync'd to.
It is added with the following configuration:
psuh / pull_request target branch: main
setup: both (stuart_ci_setup && stuart_setup)
-
GitHub Actions: Bump actions/github-script from 8 to 9 Aaron (@apop5) (#561)
Change Details
Updates `actions/github-script` from 8 to 9
Update the workflow file and the sync files.
-
Change `mu_crypto_release` license Joey Vagedes (@Javagedes) (#560)
Change Details
This commit updates `mu_crypto_release` license from the Microsoft license to the tianocore license.
-
[REBASE\&FF] clangpdb-ci improvements Joey Vagedes (@Javagedes) (#558)
Change Details
This pull request does two things:
(1) It adds a concurrency group to the workflow so that when new pushes are made to a branch, any running CLANGPDB CI workflows running are cancelled
(2) It collapses all matrix job results into a single job that can be marked as
requiredin the github UI for a PR to be merged. This is useful because some repositires have 10+ packages, resulting in over 40 jobs needing to be marked as required to pass.Testing
(1) Manually ran the file syncer to make sure the new changes sync properly across repositories
(2) Ran the workflow in a repository, ensuring the final job passes are succeeds as expected
-
.sync/Files.yml: Sync pull-request-formatting-validator.yml to secureboot\_objects Michael Kubacki (@makubacki) (#557)
Change Details
This workflow is primarily being synced to secureboot_objects to ensure file sync PR titles are updated from the default string value.
🐛 Bug Fixes
-
.sync: Add arch sync param to the CodeQL workflow Michael Kubacki (@makubacki) (#571)
Change Details
Allow the architecture list to be passed into the workflow for matrix generation. All existing repos continue to use the previous default of "IA32,X64", the mu_crypto_release repo only supports X64, so sync it accordingly.
Note: Bug label applied since this addresses a CodeQL build failure introduced in 2ffad0f.
Full Changelog: v18.0.5...v18.0.6
v18.0.5
What's Changed
-
pull-request-formatting-validator.yml Updates [Rebase \& FF] Michael Kubacki (@makubacki) (#555)
Change Details
**pull-request-formatting-validator: Prevent duplicate comments**
Only leaves a single comment on the PR if the title is not updated
after the first validation error comment is made.Originally, this was used to show that remind the developer that
the PR title was still invalid on each push, but that information
is available in the status check in a less disruptive way.
pull-request-formatting-validator: Validate file sync PR titles
The default file sync PR title is not useful in source history.
This check ensures the title is updated to reflect the actual file
sync changes.
-
clangpdb-ci.yml: Fix string replacement Joey Vagedes (@Javagedes) (#552)
Change Details
String replacement did not occur as expected with nunjucks. The yaml/json formatted strings were not treated as raw strings as expected, resulting in unexpected formatting of inputs.
Example of Incorrect formatting:
Example 1:
In this example, both the python version and package config inputs need to be wrapped in quotes
Example 2:
In this example, package config value replacement value needed to be treated as a raw string, so the
|was used
</blockquote> <hr> </details>
-
.sync: Adds groups to actions-pip-submodules.yml Michael Kubacki (@makubacki) (#550)
Change Details
This file is synced to mu_tiano_platforms which includes submodule updates. This includes the same action and pip modules groups as actions-pip.yml, also including a group for submodules.
-
File Sync: Add clangpdb-ci workflow Joey Vagedes (@Javagedes) (#548)
Change Details
This commit adds a new workflow, `clangpdb-ci.yml` that is sync'd to various repositories in the Mu ecosystem to provide continious integration coverage for EDK II style packages in a repository. Specially, this repository builds will build the package's DSC with CLANGPDB for both DEBUG and RELEASE targets.
🐛 Bug Fixes
-
[REBASE\&FF] CLANGPDB CI updates Joey Vagedes (@Javagedes) (#553)
Change Details
This commit pull-request does two things:
- Updates
PackageMatrix.ymlto better support when there are no packages to test (See commit details). - Updates
Files.ymlsync settings for a few repositories using the CLANGPDB CI (See commit details).
Testing for (1):
- https://github.com/Javagedes/mu_crypto_release/actions/runs/23872989748
- https://github.com/microsoft/mu_basecore/actions/runs/24036974499
Testing for (2):
- Updates
-
clangpdb-ci.yml: bugfix comment section Joey Vagedes (@Javagedes) (#551)
Change Details
One comment section in the `clangpdb-ci.yml` workflow had `{{}}` sections that did not actually need to be string replaced, but were not wrapped in a raw / endraw tags
This commit wraps said section in the appropriate tags.
-
.sync/PackageCi.yml: Fix Version.njk import path Michael Kubacki (@makubacki) (#546)
Change Details
Version.njk is located two levels above the PackageCi.yml.
.sync/
├── Version.njk *
└── workflows/
└── leaf/
└── PackageCi.yml *This resolves an error during file sync after commit ec8aaf3:
Repo File Sync
(mu_devops/.sync/workflows/leaf/PackageCi.yml)
Template render error: (mu_devops/.sync/workflows/leaf/PackageCi.yml)
Error: template not found: mu_devops/.sync/workflows/Version.njk
Full Changelog: v18.0.4...v18.0.5
v18.0.4
What's Changed
-
Add github workflows for stuart CI Builds Joey Vagedes (@Javagedes) (#545)
Change Details
This pull request adds two new workflows and a github action that are reusable across repositories that use the Stuart CI system.
New Actions
stuart-ciactionThis action is an OS agnostic action that will setup the stuart environment (
stuart_setup,stuart_ci_setup,stuart_update) and runstuart_ci_buildwith the specified configurations. It provides a single output,log-pathwhich is a path to all logs generated by this action. It has some performance increases like caching the .git/modules folder.PackageCiworfklowThis workflow is an OS agnostic workflow that will setup the entire runner environment and run CI on the specified packages. This workflow will generate a build matrix using the provided configuration input to test multiple packages under multiple conditions. The
package-configinput is a json string that contains all matrix configuration for the job (e.g. the input is passed directly tostrategy.matrix(Examples below). This input string can be hardcoded or automatically generated. It has some performance increases like caching the python version and python dependencies.PackageMatrixworfklowThis workflow is used to generate a matrix configuration that is consumed by the
PackageCiworfklow. This workflow works by discovering all packages in a repository and generating a configuration for it. This workflow has two main inputs: (1)default-configwhich is the default list of matrix configurations to apply for each discovered package in the workspace and (2)package-configwhich is a way to define more specific configuration for a specific package, which will replace thedefault-config.PackageMatrixalso supports runningstuart_ci_build, which will filter the discovered packages in the workspace to only package's that actually need to be tested. This is useful as it prevents generating a runner for a package that does not need tested.Usage Examples
The three actions / workflows above are not sync'd to repositories. It is expected that a repository maintains its own final github workflow that consumes these packages with it's specific configuration. An example can be seen below
Example Leaf node worfklow
# A workflow to build EDKII packages using the CLANGPDB toolchain in windows and ubuntu environments. ## # Copyright (c) Microsoft Corporation. # # SPDX-License-Identifier: BSD-2-Clause-Patent ## name: CLANGPDB Package CI on: workflow_dispatch: push: branches: - release/202511 pull_request: branches: - release/202511 jobs: package-matrix: name: Gather Repository Packages uses: microsoft/mu_devops/.github/workflows/PackageMatrix.yml@personal/joeyvagedes/ci-workflow with: ci-config: '.pytool/CISettings.py' # Manually declared package configurations. package-config: | - packages: MdeModulePkg targets: RELEASE toolchain: CLANGPDB - packages: MdeModulePkg targets: DEBUG toolchain: CLANGPDB # Default config applied to any undeclared packages in the repo default-config: | targets: ["DEBUG,RELEASE"] toolchain: ["CLANGPDB"] python-version: '3.12' windows-ci: name: Windows CLANGPDB CI if: ${{ needs.package-matrix.outputs.matrix != '' }} needs: package-matrix uses: microsoft/mu_devops/.github/workflows/PackageCi.yml@personal/joeyvagedes/ci-workflow with: package-config: ${{ needs.package-matrix.outputs.matrix }} runner: windows-latest python-version: '3.12' setup-cmd: setup ubuntu-ci: name: Ubuntu CLANGPDB CI if: ${{ needs.package-matrix.outputs.matrix != '' }} needs: package-matrix uses: microsoft/mu_devops/.github/workflows/PackageCi.yml@personal/joeyvagedes/ci-workflow with: package-config: ${{ needs.package-matrix.outputs.matrix }} runner: ubuntu-latest container: ghcr.io/microsoft/mu_devops/ubuntu-24-test:latest python-version: '3.12' setup-cmd: setup
Example CI runs
Below is an example of a pull request that generates a large amount of runners because it changes file that is not specific to a package, which results in all packages needing tested:
Below is an example of a pull request that generates only a few runners, as stuart_pr_eval decided only a few packages required testing:
-
.sync/codeql-platform.yml: Use GitHub TF-Hafnium mirrors Michael Kubacki (@makubacki) (#542)
Change Details
Replaces nested submodule URLs with GitHub mirrors to avoid issues with git.trustedfirmware.org being down.
-
Actions: Group dependabot and github actions PR updates Aaron (@apop5) (#540)
Change Details
Group the dependabot pip updates into a single PR instead of individual PRs.
Group dependabot github action updates into a single PR instead of a group of PRs.
-
Update actions/create-github-app-token from @2 to @3 Aaron (@apop5) (#541)
Change Details
actions/create-github-app-token
No breaking changes for this usages
-
.sync/MuDevOpsWrapper.yml: Add extra\_steps parameter Michael Kubacki (@makubacki) (#536)
Change Details
Jobs/PrGate.yml has an `extra_steps` parameter that allows for additional steps to run before it calls Steps/PrGate.yml.
This change allows a MuDevopsWrapper.yml pipeline to pass through build steps using this parameter.
-
Remove depreciated repos from filesync Aaron (@apop5) (#530)
Change Details
With mu_tiano_plus, mu_silicon_intel_tiano, mu_silicon_arm_tiano being depreciated, remove those repos as filesync targets.
-
Containers: Prepare for GCC5 to GCC switch Aaron (@apop5) (#529)
Change Details
EDK2 is moving towards depreciating the GCC5 toolchain in favor of the GCC tool chain.
To prepare for this, create exports for both GCC5 and GCC to allow container builds to use either.
-
Bump upload-artifact from v6 to v7 Aaron (@apop5) (#531)
Change Details
Updates codeql sync file to use upload-artifact@v7
Full Changelog: v18.0.3...v18.0.4
v18.0.3
What's Changed
-
Version.njk: Update the Mu DevOps version to v18.0.3 Michael Kubacki (@makubacki) (#527)
Change Details
Updates Mu repos to use the latest Mu DevOps release.
-
Version.njk: Update n,n-1 to 202511, 202502 Aaron (@apop5) (#526)
Change Details
Update version.njk to target 202511 and 202502 as the n and n-1 branches.
-
CodeQl: Support repos with no packages. Aaron (@apop5) (#525)
Change Details
The codeql workflow will attempting to locate Packages by finding folders ending with pkg and then attempting to find a .dsc located within that folder.
For repos without any valid pkgs, the codeql workflow will generate an empty matrix. Adding a package_count variable to differentiate this scenario and gate creating and empty matrix.
Most repos list the codeql Analyze task as a required check. With an empty matrix, this would fail. Skipping the Analyze task would result in a pending check that will never execute.
Modify the codeql to create an empty sarif file when the package_count is zero and upload this. This will allow the Analyze step to run and pass CI when a repo contains no valid packages that can have results uploaded.
This is being handled in this manor to allow the same CI checks to exist for repos which still contain a valid release/202502 branch, and a release/202511 branch which deprecates the repo.
-
CodeQl: Update to verify IA32/X64 package compat Aaron (@apop5) (#523)
Change Details
With moving ArmPkg and ArmPlatformPkg into mu_basecore, the existing codeql workflow (which only runs under windows target under IA32/X64) needs to account for packages which only support AARCH64.
Add a couple of lines to filter packages based on their DSC file's SUPPORTED_ARCHITECTURES, and exclude packages which cannot be run.
-
Update cache action to v5 Michael Kubacki (@makubacki) (#521)
Change Details
Updates to the latest version. Prevents file sync from trying sync an older version.
-
.sync: Update checkout action from v5 to v6 Michael Kubacki (@makubacki) (#520)
Change Details
Updates to the latest version. Prevents a file sync from overwriting the version back to v5.
-
rust\_toolchain update to 1.92.0 Antaeus Kleinert-Strand (@antklein) (#518)
Change Details
Update to rust toolchain 1.92.0 Pending PR for mu_plus to meet new clippy requirements. https://github.com/microsoft/mu_plus/pull/804
Testing:
- Validated rust toolchain 1.92.0 does not break common cargo make scenarios for the following repositories.
- microsoft/mu_plus
- microsoft/mu_rust_helpers
- microsoft/mu_rust_hid
- microsoft/mu_rust_pi
Testing steps:
- Update the rust-toolchain.toml to toolchain version 1.92.0
cargo updatecargo make buildcargo make testcargo make clippycargo make fmt
Any errors or build failures will be addressed in the corresponding repository before this PR is completed.
- Validated rust toolchain 1.92.0 does not break common cargo make scenarios for the following repositories.
-
Update actions/checkout from v5 to v6 Aaron (@apop5) (#517)
Change Details
Update filesync files and local actions to use actions/checkout@v6
-
Version.njk update mu\_devops from v18.0.0 to v18.0.2 Aaron (@apop5) (#511)
Change Details
v18.0.1 was released, but the Version.njk was not updated so file sync is still referencing the older version.
</blockquote> <hr> </details>
Full Changelog: v18.0.2...v18.0.3
v18.0.2
What's Changed
-
Dependabot: Update syntax for ignore dependency names. Aaron (@apop5) (#512)
Change Details
Dependabot created a lot of update PRs for mu_devops actions. This was tracked back to dependabot configuration needing its syntax tweaked.
Relevant section:
dependency-name | Ignore updates for dependencies with matching names, optionally using * to match zero or more characters.
This week was the first time dependabot created individual PRs for the mu_devops actions.
I suspect this has always been an issue. I am not aware of a case where mu_devops was tagged and there way a week's gap between version.njk being updated and file sync run.
-
Minor fixup: Do not extract iasl nuget package to root Vineel Kovvuri[MSFT] (@vineelko) (#505)
Change Details
Do not extract iasl nuget package to root, because of which we are not cleaning the `iasl` completely because the following line `cd .. && rm -rf iasl_temp` assumes all the extracted contents are in `iasl_temp`
Signed-off-by: Vineel Kovvuri[MSFT] [email protected]
-
Updating actions/upload-artifact from v4 to v5 Aaron (@apop5) (#506)
Change Details
According to release notes, the major change is supporting Node v24.x, which should not matter when consumed in the github action.
-
Configure dependabot to ignore CodeQL action updates Michael Kubacki (@makubacki) (#503)
Change Details
The CodeQL action is exclusively used in workflows synced from mu_devops. Prevent dependabot from creating PRs for it in individual repos.
-
Updates the following CodeQL actions from v3 to v4 Michael Kubacki (@makubacki) (#502)
Change Details
- github/codeql-action/init - github/codeql-action/analyze - github/codeql-action/upload-sarif
Dependabot currently has updates out to individual repos but the files in /.sync need to be updated here so they are not overwritten in future file syncs.
Full Changelog: v18.0.1...v18.0.2
v18.0.1
What's Changed
-
label-issues/file-paths.yml: Add `-changed-files` Michael Kubacki (@makubacki) (#500)
Change Details
Follows the latest config format to specify file types that have labels applied.
Adds compatibility to the file to prevent this issue when running against the v6.0.1 actions/labeler action:
found unexpected type for label 'language:python' (should be array of config options)
-
Version.njk: Update the Mu DevOps version to v18.0.0 Michael Kubacki (@makubacki) (#497)
Change Details
Updates Mu repos to use the latest Mu DevOps release.
-
CodeQL workflows: Remove dev branch trigger Michael Kubacki (@makubacki) (#498)
Change Details
Does not trigger the workflow on the dev branch since the dev branch concept has been dropped from Project Mu.
One more reference found that is not needed.
-
Files.yml: Sync release-draft.yml as a template Michael Kubacki (@makubacki) (#496)
Change Details
Previously a parameter was provided. Now, just set `template:true` to the file is treated as a template during syncing.
Small update that's needed for the file sync.
Full Changelog: v18.0.0...v18.0.1