Repository navigation
Clear deferred backlog: more licenses, script tests, CI hardening - #2
Merged
Merged
Conversation
Expand the license choice beyond MIT/none. LICENSE.jinja gains a branch per license (Apache-2.0 text is the verbatim canonical version). pyproject's SPDX field and the README label already generalize, so no change there. CI renders each license variant and asserts the LICENSE, pyproject SPDX, and README label.
Add tests for check_commit_msg (accept/reject/skip rules), check_hotspot_rigor (score threshold, __init__ skip, SyntaxError guard, docstring/test detection), and check_type_complexity (rendered from the jinja, depth/length limits). Their absence is why those scripts shipped with bugs. Run them in a script-tests CI job.
… check Install a pinned gitleaks in the guardrails-bite job so the bite script runs its secret-scan assertion instead of skipping it. Add a ci-passed job that needs every other job; branch protection can require just this one check, so protection no longer breaks when the matrix changes.
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.
Finishes the deferred backlog:
Per-diff hotspot gate was closed as decided-advisory. Reviewed; Apache header indentation + a dead license=none assertion fixed pre-push.