Repository navigation
ci: the community files' budgets, banned words and form types checked in CI - #7
Merged
Merged
Conversation
… in CI The T06 contract, as amended by K2 and K3 (APS-Conecta/instalador#71), was checked only by hand-run greps. One step in ci.yml now runs scripts/community-check.sh --self-test: fixture trees prove each violation reds the run (a budget overrun in each of the four files, a missing file, each banned word — reported even when a sibling file is gone —, a form without a top-level type in .yml or .yaml, a foreign type, a missing Task), then the live tree is checked — so a community file that grows past its budget, carries privad/private/aprobaci/ approval/hackerone/apsconecta.cl, or a form that loses its type: Bug / type: Task line, fails the build instead of waiting for a hand-run grep. config.yml — GitHub's chooser, not a form — is out of the check. The shellcheck step covers the new script; the job drops its packer-only name now that it self-tests the community contract too. Assisted-by: pi:glm-5.3
4 tasks
ddespinoza
added a commit
to APS-Conecta/documentation
that referenced
this pull request
Oct 25, 2026
APS-Conecta/.github#7 adds community-check.sh --self-test to the ci.yml step list (APS-Conecta/instalador#71), so the row that describes the workflow names the second self-test: the T06 line budgets, the banned words and the issue-form types. Assisted-by: pi:glm-5.3
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.
Implements APS-Conecta/instalador#71 (docs-SSOT T06 as amended by K2 and K3) in this, the org-defaults repository the contract governs.
What. One step in
ci.ymlrunsscripts/community-check.sh --self-test:profile/README.md≤ 3 lines,CONTRIBUTING.mdexactly 1,SECURITY.md≤ 6,.github/PULL_REQUEST_TEMPLATE.md≤ 10; a physical line counts, blank or not; a deleted file is a violation.privad,private,aprobaci,approval,hackerone,apsconecta.cl.ISSUE_TEMPLATE/*.ymlor*.yamlcarries a top-leveltype:ofBugorTask, and both types are present;config.yml/config.yaml(GitHub's chooser, not a form) is out of the check.Redness is proven, not asserted — the self-test builds 20 fixture trees: 17 must fail (each budget overrun per file, the missing file, each banned word, the banned word beside a missing sibling, the untyped form in
.ymland in.yaml, the foreign type, the missingTask) naming the exact diagnostic, 3 must pass (the good tree, a typed.yamlform, the chooser present). Then the live tree is checked — the same step provesmainstays green.The existing shellcheck step covers the new script; the job drops its packer-only name now that it self-tests the community contract too.
ai-assistedsi una IA ayudó.