Repository navigation
v1.6.0
The tool that grades instruction files now grades this repository's own on the
way in, using the published release rather than the tree under review, and the
pin naming that release has something watching it.
Changes
- Every pull request is scored by the shipped action (#96). The job uses a
pinned released version, not./, because running the tree under review would
hand an API key to code the pull request itself wrote. A second job scores
with the merged tree, and only on the push todevelop, where the code has
already been reviewed. The paths list is written out twice on purpose: GitHub
Actions rejects YAML anchors, and a test asserts the two copies stay identical. - A release opens the pull request that moves the gate's pin (#97), on the
push tomain, on a published release, and weekly as a net. It opens with a
person's token: a pull request GitHub attributes to Actions raises no
pull_requestruns at all, so one opened withGITHUB_TOKENcan never
satisfy a required check and stays unmergeable forever. - Two rules the coverage number and the rubric hid (#99). An embedded
awk
orjqprogram reads as uncovered bash and no test moves it: the deduction
rule tooklib/scoring.shfrom 92% to 61% while seven tests exercised the
function around it. And the README described a calibration gate that does not
exist, a fixed twelve-point spread, where the script checks three separate
thresholds.
Known limitation
The pin watcher does not work yet, and this release is what proved it. Two
reasons, both in #101:
the push trigger resolves its target from releases/latest rather than from the
pushed commit, so it no-ops on every promotion, and the token it pushes with is
documented without the Workflows permission GitHub requires to write a file
under .github/workflows/. Until both are fixed, check the pin with just gate-pin-preview and move it by
running bin/bump-gate-pin.sh locally.
Notes for consumers
v1 now points here. The action's inputs and outputs are unchanged, so a
consumer pinned to v1 or to a version tag needs no edit.