fix: correct OPM grep pattern in nightly security check#64
Merged
levleontiev merged 1 commit intomainfrom Mar 25, 2026
Merged
Conversation
The lua-resty-maxminddb version check was using a space separator
pattern ('lua-resty-maxminddb \K[0-9.]+') that no longer matches
the Dockerfile after issue #56 changed the opm get syntax to use
an equals sign ('opm get package=version').
Empty PINNED caused the step to always enter the "update available"
branch and fail, which in turn triggered the "Open issue on nightly
security failure" step — creating issue #63.
Fixes #63.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
lua-resty-maxminddbversion grep insecurity-nightly.yml— pattern used a space separator but the Dockerfile now uses=syntax (opm get package=version) after issue security: harden supply chain — pin opm module, base image digest, codeql action SHA #56PINNEDwas causing the step to always fail → triggering "Open issue on nightly security failure" → auto-created issue security: nightly high/critical findings #63Fixes #63.
Test plan
Security Nightlyworkflow and confirm "Check lua-resty-maxminddb OPM version" step passesPINNEDprints1.3.7in the step log🤖 Generated with Claude Code