Skip to content

Pin yq installation to a specific version via a shared composite action - #658

Closed
Boomatang wants to merge 1 commit into
Kuadrant:release_processfrom
Boomatang:yq_setup
Closed

Pin yq installation to a specific version via a shared composite action#658
Boomatang wants to merge 1 commit into
Kuadrant:release_processfrom
Boomatang:yq_setup

Conversation

@Boomatang

Copy link
Copy Markdown
Member

Summary

Replaces inline yq installation steps across CI workflows with a shared composite action (.github/actions/install-yq) that pins yq to a specific version (4.53.3) instead of pulling from latest.

This change was prompted by review feedback suggesting that yq should be pinned to a specific version to avoid potentially breaking CI on external updates. Branch protections on release_process prevent pushing directly, so this is submitted as a separate PR.

Changes

  • Introduced a reusable composite action that downloads and installs a pinned version of mikefarah/yq, with the version configurable via an input parameter
  • Updated the release.yaml, version-gate.yaml, and pre-release.yaml workflows to use the new composite action instead of inline installation steps
  • Fixed a missing yq installation step in pre-release.yaml which used yq without installing it first

Notes

  • The default version is pinned to 4.53.3 and can be overridden per-caller via the version input
  • All three workflows that depend on yq now use a single source of truth for installation

The installing of yq has being moved in to its own action. As yq is used
across a number of workflows this give on location to update the
version.

Signed-off-by: Jim Fitzpatrick <jfitzpat@redhat.com>
@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: efa99e8a-7b33-403a-bd0c-1700e5fb8b6d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant