Centralized CodeQL and Scorecards workflows

"Piotr P. Karwasz" <[email protected]> Fri, 17 Apr 2026 15:18:17 +0200
Newsgroups gmane.comp.jakarta.commons.devel
Message-ID <[email protected]>
Hi all,

As a follow-up to the November discussion [1], I have opened two PRs to
introduce reusable workflows for CodeQL and Scorecards:

- https://github.com/apache/commons-parent/pull/699
- https://github.com/apache/commons-parent/pull/700

The main concern raised (notably by Gary) is that the added indirection
makes projects harder to maintain. I respectfully disagree: these
workflows are essentially maintenance-free, they only change when
dependencies are upgraded, and they rarely fail for reasons unrelated to
the project itself (e.g. a compilation error).

Rather than a project-wide rollout, I propose a limited trial: adopt the
reusable workflows in two or three projects, evaluate the experience,
and either extend to all projects or revert to the status quo.

I am happy to monitor these workflows and address any issues that arise.
My expectation is that they will go unnoticed.

Thoughts?

Piotr

[1] https://lists.apache.org/thread/rnb8j9og60j4rs0pr1fljlvbpy2zf1tt