Skip to content

Fix Lua Detection on ci_new - #3531

Merged
airween merged 4 commits into
owasp-modsecurity:v3/masterfrom
Easton97-Jens:v3/master_update_workflows
Apr 1, 2026
Merged

airween merged 4 commits into
owasp-modsecurity:v3/masterfrom
Easton97-Jens:v3/master_update_workflows

Conversation

@Easton97-Jens

Copy link
Copy Markdown
Contributor

what

  • Fixes Lua detection in ci_new.
  • Ensures Lua is correctly detected and handled within the CI pipeline.
  • Resolves issues caused by incorrect or missing Lua detection.

why

  • The previous Lua detection in ci_new was faulty or incomplete.
  • As a result, CI jobs involving Lua could be misexecuted or skipped.
  • This fix improves the stability and reliability of the CI processes.

references

EN:

  • Fix for Lua detection in ci_new

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.

Pull request overview

Updates the ci_new GitHub Actions workflow to more reliably detect and install the latest available libluaX.Y-dev package on Ubuntu runners.

Changes:

  • Switch Lua dev package discovery to apt-cache pkgnames | grep -E ... and select the newest version via sort -V.
  • Add a guard to fail early if a “best” Lua package cannot be determined.
  • Add a diagnostic step to print Lua-related installation details in CI logs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci_new.yml Resolved
Comment thread .github/workflows/ci_new.yml Resolved
Comment thread .github/workflows/ci_new.yml Resolved
@sonarqubecloud

sonarqubecloud Bot commented Apr 1, 2026

Copy link
Copy Markdown

@airween

airween commented Apr 1, 2026

Copy link
Copy Markdown
Member

Thanks, @Easton97-Jens!

@airween
airween merged commit e5d00df into owasp-modsecurity:v3/master Apr 1, 2026
98 checks passed
@Easton97-Jens
Easton97-Jens deleted the v3/master_update_workflows branch April 18, 2026 16:39
@airween airween added the 3.x Related to ModSecurity version 3.x label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Related to ModSecurity version 3.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants