Repository navigation
fix(ci): sync actions.lock with the Dependabot bumps from #1 - #3
Conversation
Dependabot bumped 5 action refs in the workflow YAML but did not update actions.lock. Lock Sync Gate and the Estate Rules archetype lock-merge test both failed on the mismatch. Re-pinned each bumped ref to the commit its tag points to (peeled commit for annotated tags), from git ls-remote: - actions/upload-artifact v7.0.2 cf430e0 - actions/download-artifact v8.0.2 9000827 - haskell-actions/setup v2.12.1 0f8e8c9 - hyperpolymath/smtp-notify-action v0.5.0 c1c9fa0 - sonarsource/sonarqube-scan-action v8.3.0 d209202 Verified: scripts/check-lock-sync.sh exits 0; tests/workflows/archetype_lock_merge_test.sh and template_conformance_test.sh pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZohGxQnA5cbBZyi8Wp
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
## Summary This repo was a raw copy of `rsr-template-repo` and `just repo-init` was never run. Its initial commit is tree-identical to template commit `df09a6c` (2026-10-09). Because of that, 2 checks failed on every PR (for example #2): - OpenSSF Compliance: `scripts/check-no-placeholders.sh` found unfilled `{{...}}` tokens. - Dogfood Gate / Canon lockstep: no `zig-unorm_chora.deed`, so the repo could not declare a canon pin. The other 2 checks from #2 (Lock Sync Gate, Estate Rules) were fixed by #3, already merged. ## Changes - Ran the `repo-init` recipe. Values: owner `hyperpolymath`; author and email from the SPDX headers already in the repo; description from the GitHub repo description; no ORCID; no OpenSSF Best Practices id (the badge line is removed, as the recipe does). - `(provenance)`: corrected to the real parent (template `main`, commit `df09a6c`, tree `2c01b6f`). The recipe recorded this repo's own branch and commit, which is the self-parenting defect class (#200/#201/#203 in the template). - `(canon)`: re-pinned from 2.1.2 to 2.1.5, the same 1-line bump the template made. The criteria hash is unchanged; canon 2.1.5 only corrects the gate-table layout, so no criterion changed. - `CLAUDE.md`: regenerated with `just claude-md` (it still showed the template uuid and deed name). - `docs/architecture/REPOSITORY-MAP.adoc`: regenerated with `just repo-map`. - `docs/governance/TEMPLATE-STANDARDS-AUDIT.adoc`: the mint deleted a table row and broke the table; restored with the upstream template's wording. Left for the owner (the deed keeps them `UNASSIGNED` on purpose): identity prefixed name, clade, and the other `UNASSIGNED` fields (`grep -rn UNASSIGNED .`). ## RSR Quality Checklist ### Required - [x] Tests pass: every `estate-rules.yml` step passes locally; see Testing. `just test` NOT run: `idris2` and `zig` are not installed in this environment. - [ ] Code is formatted: not applicable, no source code changed. - [ ] Linter is clean: not run. - [x] No banned language patterns - [x] No `unsafe` blocks, banned functions or secrets added - [x] SPDX headers: kept as they were. ### As Applicable - [x] Repo deed updated: renamed, `(provenance)` and `(canon)` set. - [ ] Roadmap, changelog: not changed. ## Testing Run locally on this branch: ``` bash scripts/check-no-placeholders.sh . # PASS ./scripts/check-lock-sync.sh # in sync and transitively closed canon-lockstep step of dogfood-gate.yml # "This template implements the canon at HEAD" just verify # PASS: All OpenSSF Best Practices prerequisites satisfied just validate-claude-md # OK bash scripts/check-adoc-renders.sh . # PASS: all 158 .adoc files render clean bash scripts/check-template-conformance.sh # T1-T3 PASS; T4 flags only the local work branch all bash steps of estate-rules.yml # 0 failures ``` ## Screenshots Not applicable. --- _Generated by [Claude Code](https://claude.ai/code/session_0136P7ZohGxQnA5cbBZyi8Wp)_ Co-authored-by: Claude <noreply@anthropic.com>
…ain (#6) ## Summary On `main`, 6 workflows fail at startup with 0 jobs: `governance`, `mirror`, `secret-scanner`, `rust-ci`, `hypatia-scan` and `main-estate-audit`. Cause: each one was a job-level call to a remote reusable workflow (`hyperpolymath/standards` or `hyperpolymath/cicd-suite`). `gh actions-lock` cannot lock that kind of call. The hand-added lock records for these calls gave their transitive actions a raw SHA as `ref`, and GitHub rejects those records. Evidence: - `rust-ci` runs 1-2 passed on 2026-10-13, with the same workflow files and the same callee pins. - Run 3 (2026-10-20) failed with `invalid lockfile pin` on `actions/checkout@3d3c42e`, which is one of the hand-added transitive records. - Every run since 2026-11-12 01:26 UTC was rejected before any job started. That was before #3 merged, so #3 did not cause it. - The pinned callee commits are all on `main` upstream, and the permissions match. So the cause is not reachability or permissions. The template fixed this at source in hyperpolymath/rsr-template-repo#253, hyperpolymath/rsr-template-repo#295 and hyperpolymath/rsr-template-repo#243. This repo was copied from the template at `df09a6c` (2026-10-09), before those fixes. ## Changes - The 6 workflows, plus `scorecard.yml`, are now the template's current `main` versions. They use step-level actions only. - `scorecard.yml` is in this PR because it had the same reusable call. While it called `standards@da2c748`, the bad lock record could not be removed. - `actions.lock`: - the 7 workflow entries list the actions they now use; - the records that only the removed reusable calls used are deleted; - the SHA-keyed records for `checkout`, `cache` and `setup-beam` now carry tag refs; - 3 records are added: `upload-artifact@cf430e0`, `codeql-action@9b32540` and `scorecard-action@fa7117d`. - Every kept or added record is byte-identical to the template's lock, which `gh actions-lock` generated. **The tool was not run here:** it is not installed in this environment. - The template now names `metadatastician/standards`. Its `main` is the same commit as `hyperpolymath/standards` `main` (`e880a2d`), and the pin `e064539` is on it. I kept the template's text as it is. ## RSR Quality Checklist ### Required - [ ] Tests pass (`just test` or equivalent): not run. `just` is not installed here. The job logic was run instead; see Testing. - [ ] Code is formatted: not applicable, no source code changed. - [x] Linter is clean: all 7 `workflow-linter.yml` blocks pass, and `bun scripts/check-action-pinning.js` passes. - [x] No banned language patterns - [x] No `unsafe` blocks without `// SAFETY:` comments: none added. - [x] No banned functions: none added. - [x] SPDX license headers present on all modified workflows - [x] No secrets, credentials, or `.env` files included ### As Applicable - [ ] `CHANGELOG` or release notes updated: not changed. - [ ] The other items do not apply. No deed, roadmap, ABI or dependency change. ## Testing Run locally on this branch, on top of `f843fb9`: - `scripts/check-lock-sync.sh`: PASS. **Note:** it also passes on old `main`, so this gate cannot detect this class of failure. - `governance` step, with `check-ts-allowlist.sh` from `standards@e064539`: PASS. - `rust-ci` step, as written in the workflow: PASS. It compiles 3 `scripts/*.rs`, and `archetype_lock_merge_test.sh` skips. - `main-estate-audit` step, with `cicd-suite@bf7dd95`: all 5 gates PASS, and the Zig `std.fs`/`std.io` check PASS. - `secret-scanner`: gitleaks 8.18.4 (SHA-256 verified) with the estate baseline, on the working tree, the full history and the AsciiDoc mirror: no leaks. `rust-secrets` and `shell-secrets`: PASS. - `template_conformance_test.sh` and `mint_cleanup_test.sh`: PASS. - `check-template-conformance.sh`: T4 flags the work branch. It does the same on `main`. **Not run:** - `hypatia-scan`: the Elixir build of the scanner was not run here. - `scorecard`: needs GitHub. - `mirror`: only prints the commit. The real proof is that this PR's checks start with jobs. ## Screenshots Not applicable. --- _Generated by [Claude Code](https://claude.ai/code/session_0136P7Zm6eYf2qoCuCWfC7aC)_ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Chores** * Updated automated checks for repository standards, Rust builds and tests, licensing, and selected file and configuration rules. * Expanded security scanning for code and secrets. Scan results are saved as artifacts, and critical findings fail the scan. * Added manual запуск options for several checks and adjusted when some scans and reports run. * Updated mirroring automation; it now checks out the repository but does not run the previous mirroring workflow. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Claude <noreply@anthropic.com>



Summary
Dependabot (#1) bumped 5 action refs in the workflow YAML but did not update
.github/workflows/actions.lock. This broke 2 checks onmain, and so on every PR (for example #2):check-lock-sync.sh)Changes
.github/workflows/actions.lock: re-pinned each bumped ref and itsdependencies:record to the commit its tag points to (the peeled commit for annotated tags, fromgit ls-remote):actions/upload-artifactv7.0.1 to v7.0.2 (cf430e0)actions/download-artifactv8.0.1 to v8.0.2 (9000827)haskell-actions/setupv2.12.0 to v2.12.1 (0f8e8c9)hyperpolymath/smtp-notify-actionv0.3.0 to v0.5.0 (c1c9fa0)sonarsource/sonarqube-scan-actionv8.2.2 to v8.3.0 (d209202)Not fixed here
2 other checks on #2 still fail. They have a different cause: this repo is an uninstantiated copy of
rsr-template-repo(just repo-initwas never run).scripts/check-no-placeholders.shfinds unfilled{{...}}tokens.zig-unorm_chora.deed, but the repo hasrsr-template-repo_chora.deed.Both need the owner's identity values and a decision to instantiate the repo, so they are out of scope for this PR.
RSR Quality Checklist
Required
scripts/check-lock-sync.shexits 0;tests/workflows/archetype_lock_merge_test.shandtests/workflows/template_conformance_test.shpass.unsafeblocks, banned functions or secrets addedAs Applicable
Testing
Screenshots
Not applicable.
Generated by Claude Code