Skip to content

github: workflows: updating checkout and upload actions - #11166

Open
tmleman wants to merge 1 commit into
thesofproject:mainfrom
tmleman:topic/upstream/pr/github/workflows/update_actions
Open

github: workflows: updating checkout and upload actions#11166
tmleman wants to merge 1 commit into
thesofproject:mainfrom
tmleman:topic/upstream/pr/github/workflows/update_actions

Conversation

@tmleman

@tmleman tmleman commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

These actions use Node.js 20. This version is now deprecated and GitHub is emitting warnings in action workflow logs.

Updated to use version SHA instead of tags. Tags can be changed and the current trend is to pin to a specific version.

Copilot AI lite review requested due to automatic review settings September 3, 2026 20:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

actions/cache is pinned to the same SHA as actions/checkout, which is very likely an invalid ref for the cache action and can break the workflow.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates multiple GitHub Actions workflows to pin actions/checkout (and in a few places actions/upload-artifact) to specific commit SHAs to avoid mutable tags and reduce deprecation warnings from older Node-based action releases.

Changes:

  • Pinned actions/checkout to a specific commit SHA across the Zephyr, unit test, docs, tooling, and build workflows.
  • Pinned actions/upload-artifact to a specific commit SHA in workflows that publish build/fuzzer artifacts.
  • Updated one actions/cache usage to a commit SHA (but the chosen SHA appears to be incorrect for that action repo).
File summaries
File Description
.github/workflows/zephyr.yml Pins actions/checkout and actions/upload-artifact; also updates one actions/cache usage (currently looks incorrect).
.github/workflows/zephyr-unit-tests.yml Pins actions/checkout for the Zephyr unit test workflow.
.github/workflows/zephyr-shell.yml Pins actions/checkout for the Zephyr shell workflow.
.github/workflows/unit-tests.yml Pins actions/checkout for the cmocka unit tests workflow.
.github/workflows/tools.yml Pins actions/checkout for tool/build validation workflows.
.github/workflows/testbench.yml Pins actions/checkout for the testbench workflow.
.github/workflows/sparse-zephyr.yml Pins actions/checkout for both sparse and SOF checkouts.
.github/workflows/sof-docs.yml Pins actions/checkout for the sof-docs build workflow.
.github/workflows/rimage.yml Pins actions/checkout for rimage build and cppcheck workflows.
.github/workflows/repro-build.yml Pins actions/checkout for the reproducible build workflow.
.github/workflows/pull-request.yml Pins actions/checkout for the PR validation workflow.
.github/workflows/llext.yml Pins actions/checkout for the llext workflow.
.github/workflows/ipc_fuzzer.yml Pins actions/checkout and actions/upload-artifact for IPC fuzzer runs/log uploads.
.github/workflows/codestyle.yml Pins actions/checkout for yamllint workflow.
.github/workflows/build_all.yml Pins actions/checkout for the build_all workflow.
Review details
  • Files reviewed: 15/15 changed files
  • Comments generated: 1
  • Review effort level: Lite

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

Comment thread .github/workflows/zephyr.yml Outdated
@intel-sofci

intel-sofci commented Sep 3, 2026

Copy link
Copy Markdown

PR 11166: test results

Run date: 2026-09-04 09:25 UTC

Tested commit: 2c7f632a690ebe4f889a72f5552e50d0084919c3

mtl pass rate lnl pass rate ptl pass rate wcl pass rate nvl pass rate

@tmleman
tmleman force-pushed the topic/upstream/pr/github/workflows/update_actions branch 2 times, most recently from b904059 to 2c7f632 Compare September 4, 2026 05:14
These actions use Node.js 20. This version is now deprecated and GitHub
is emitting warnings in action workflow logs.

Updating following actions:

- checkout from v4 to v7.0.1
- upload-artifact from v4 to v7.0.1
- cache from v4 to v6.1.0

Updated to use version SHA instead of tags. Tags can be changed and the
current trend is to pin to a specific version.

Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
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