🌱 Fix PR verifier by replacing deprecated Docker action#4972
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4972 +/- ##
==========================================
+ Coverage 66.80% 69.67% +2.87%
==========================================
Files 230 251 +21
Lines 16602 15654 -948
==========================================
- Hits 11091 10907 -184
+ Misses 4808 3873 -935
- Partials 703 874 +171 🚀 New features to boost your workflow:
|
ee151da to
6ae2bec
Compare
6ae2bec to
04cdd2d
Compare
The kubebuilder-release-tools Docker image (gcr.io/kubebuilder/pr-verifier) became unavailable on March 18, 2025, causing all PR verifier checks to fail. This commit replaces the Docker action with a shell script that: - Performs the same PR title verification for emoji prefixes - Checks out base branch to run the verification script - Validates title length (500 char max) - Uses printf for safer output handling - Maintains compatibility with both emoji and :emoji: formats Supported emoji prefixes: - ⚠ Breaking change - ✨ Non-breaking feature - 🐛 Patch fix - 📖 Documentation - 🚀 Release - 🌱 Infra/Tests/Other Signed-off-by: Stephen Augustus <foo@auggie.dev> Co-Authored-By: Claude <noreply@anthropic.com>
04cdd2d to
a3a9069
Compare
justaugustus
commented
Mar 21, 2026
justaugustus
left a comment
Member
Author
There was a problem hiding this comment.
@spencerschrock @AdamKorcz — need a review, as this failure currently blocks all PRs.
This was referenced Mar 22, 2026
2 tasks
spencerschrock
approved these changes
Mar 23, 2026
Co-authored-by: Spencer Schrock <sschrock@google.com> Signed-off-by: Stephen Augustus <justaugustus@users.noreply.github.com>
e290213 to
01f9cf8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
Bug fix - Replaces deprecated Docker action that was causing all PR verifier checks to fail.
What is the current behavior?
The PR verifier check is failing for all pull requests with error: "Pull gcr.io/kubebuilder/pr-verifier:v0.4.3: failure"
The kubebuilder-release-tools Docker image became unavailable on March 18, 2025, as announced in kubernetes-sigs/kubebuilder-release-tools#60.
What is the new behavior (if this is a feature change)?
The PR verifier now uses a shell script (
scripts/verify-pr-title.sh) instead of the deprecated Docker action. The script::emoji:(:seedling:) formatsSupported emoji prefixes:
:warning:):sparkles:):bug:):book:):seedling:):ghost:)Tested locally with:
:emoji:format)Which issue(s) this PR fixes
NONE
Special notes for your reviewer
The workflow checks out the base branch (via
ref: ${{ github.base_ref }}) to run the verification script, ensuring only trusted code executes.Does this PR introduce a user-facing change?