Skip to content

the GitHub Action's texts say which events it gates, what chooses the gate that runs, and GitHub's limit on annotations - #281

Merged
fathomlab merged 6 commits into
fathom-lab:mainfrom
heyzoos123-blip:action-texts-made-true
Nov 17, 2026
Merged

fathomlab merged 6 commits into
fathom-lab:mainfrom
heyzoos123-blip:action-texts-made-true

Conversation

@heyzoos123-blip

Copy link
Copy Markdown
Contributor

What this is

The follow-up to #280, part one of three: the texts a user of the GitHub Action reads are made true. No exit code moves for any input. The independent review of the Action found sentences in action.yml, the README and the script's docstring that were false or that left out what a user needs; this corrects them.

What it says now

  • Events. The Action gates pull_request and push. On any other event, pull_request_target and merge_group among them, it reads no claim, prints a line saying the event is not gated, and the job passes whatever soft-fail and strict are set to. No text a user reads said this before.
  • styxx-version. The input's text said the installed version is the gate ("Do not pin below it"). It is not: the script imports the styxx package beside it, so the gate that runs is the one at the ref named in uses:. The text now says so, and says what the install is for. The default spec is unchanged.
  • What is shown. "Every verdict goes in the job summary and the annotations" is replaced by what the script prints, and by GitHub's own sentence: "GitHub Actions are limited to 10 warning annotations and 10 error annotations per step".
  • The text that is read. A description is read in its Markdown source, so an HTML comment, a task-list item and a sentence inside a code fence are read like any other sentence.
  • The trigger. The README gives the trigger a blocking workflow needs, types: [opened, edited, synchronize, reopened], and says when an edited description is read with GitHub's default types.
  • On a push the text the gate reads is the head commit's message. Four sentences the script prints called it "the description"; they now name it. On a pull_request event every printed byte is as it was.
  • A link. The README linked the know-say example at tag v8.0.2, the file as it was before examples: the know-say example sends its API key to its endpoint only and follows no redirect #278's repair; it now links the file on main.

How it was checked

  • The script at 97772a02 and this one were run side by side over 264 cells of path, soft-fail and strict by a reviewer working apart: no exit code differs, no byte of a pull request's or an ungated event's output differs, and on a push the only differences are the four sentences.
  • A second reviewer held every added sentence against the code and a run. The two reported fifteen points; thirteen changed the texts or the tests, and the CHANGELOG entry lists them.
  • A new test file holds the texts to the script. Five changes to the script were each run against it, and each made a test fail.
  • The annotation limit was read at its source: GitHub's page for the REST API's check runs, and the runner's ExecutionContext.cs.

What is not verified

  • Python 3.9 to 3.11 and Linux were not run locally; CI runs them.
  • No job was run to see what GitHub's page draws for a command past the tenth of its kind.
  • The README keeps its line count, so the line numbers the Zenodo manifest cites stand.

Not in this change

How strict is read, asking a failed request again, a created branch's head commit and a diff GitHub refuses: these are the next two parts. Comments under .github/ that are out of date are not editable from this branch and are owed.

🤖 Generated with Claude Code

darkflobi and others added 6 commits November 17, 2026 15:56
…ns and what is printed; a push's sentences name the head commit message

The docstring said of an event that is not gated "reports and passes". It
prints one line and reads no claim. It now also says that the text is read in
its Markdown source, that the styxx package beside the script is the gate that
runs, and which commands are printed against GitHub's stated limit of
annotations per step.

On a push the text read is the head commit's message. Four sentences called it
"the description"; they now take the name from the event. On a pull_request
event nothing printed changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… what is shown, and what styxx-version does

The description names the two gated events and what happens on any other, says
the text is read in its Markdown source and that a proxy in front of a
plain-http API origin reads the token, and replaces "every verdict goes in the
job summary" by what is printed and GitHub's limit of annotations per step.

The styxx-version input said the installed version is the gate. The script
imports the package beside it, so the ref in `uses:` chooses the gate; the
text now says so. The default spec is unchanged.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…e know-say example linked on main

Each edit is made in place on its line; the file keeps its line count. Line 84
gives the trigger a blocking workflow needs (types with `edited`). The link to
examples/knowsay_endpoint.py named tag v8.0.2, the file before its repair.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…tes held to 97772a0

The events the texts name against the ones main() gates; events that are not
gated; the styxx-version text; the know-say link; a push's sentences; and every
pull_request path of the fails-closed table against the script this change was
cut from.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…eviewers read them against it

A row for each claim is said of a run in which the gate read the diff. A
command past the tenth of its kind "may be shown as no annotation"; the text
no longer says such a claim keeps a row and a line. An event that is not gated
prints a line after the warning for a soft-fail value that is not recognised.
The proxy sentence names the API's host. The docstring's older sentence on
report mode is brought in line. The README gives the default activity types
and when an edited description is read with them, and says GitHub documents
the limit of annotations.

The push test reaches a push that creates a branch, a withheld contradiction
and an unmeasured diff, under four soft-fail values.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
… and on annotations

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants