Skip to content

ci: add the CI / check workflow the release check reads (REL-1c) - #17

Merged
jothimani-rajendran merged 2 commits into
mainfrom
rel-1c-ci-check
Oct 20, 2026
Merged

jothimani-rajendran merged 2 commits into
mainfrom
rel-1c-ci-check

Conversation

@jothimani-rajendran

Copy link
Copy Markdown
Collaborator

What

Adds .github/workflows/ci.yml (name CI, job check, ubuntu-latest, Python 3.12, actions pinned by SHA, permissions: contents: read, persist-credentials: false). chock-release check 2 reads this job and refuses a release when it is absent.

The job installs chock from the single pip install "chock @ git+...@<40-hex>" pin in README.md (exit 1 when there is none or more than one distinct pin), then runs chock check --repo . --base <base sha> on pull requests (chock check --repo . on push) and chock sync --repo . --check. Checkout uses fetch-depth: 0 so the base sha resolves.

Measured locally (Python 3.12.3, chock 0.15.2 installed from the README pin)

  • actionlint: clean. zizmor 1.31.1 --offline --min-severity low: no findings.
  • The install step run against a README with no pin and with two distinct pins: exit 1 with its message each time; against this README: prints the one pin.
  • chock check --repo .: exit 1, compiled_drift on bin/claude_code.py only (everything else passes).
  • chock sync --repo . --check: exit 1, differs: bin/claude_code.py.

Owner action before merge

The two steps above are red under the README's pin because the committed .chock/compiled/bin/claude_code.py differs from what that engine compiles. .chock/compiled is owner-only, so this PR does not run chock sync. Regenerate on this branch (chock sync --repo ., commit the result) and CI / check goes green.

Plan: REL-1c in org-plan plan/prerelease-fixes.md.


Generated by Claude Code

jothimani-rajendran and others added 2 commits October 19, 2026 15:30
chock-release check 2 reads ci.yml job `check` on every pinner repo and
refuses the release when it is absent. This repo had no workflow.

The job installs chock from the single pin in README.md (refusing when
there is none or more than one distinct pin), runs chock check (with
--base on pull requests) and chock sync --check.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
@jothimani-rajendran
jothimani-rajendran marked this pull request as ready for review October 20, 2026 01:32
@jothimani-rajendran
jothimani-rajendran merged commit 3855aa2 into main Oct 20, 2026
1 check passed
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.

1 participant