From 1b213836d33c022bb09f20896296fc89e26b120b Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Tue, 11 Aug 2026 21:20:23 +1000 Subject: [PATCH] cimas: sync 2026-08-10 wave (3-week drift catch-up + standoc-models P3) Fortnightly cimas sync wave 2026-08-10. 97 of 137 mapped repos have accumulated drift over 3 weeks since last wave (2026-07-22). Key changes: standoc-models P3 monorepo entry (metanorma-core#16 / ci#390), mn-samples-plateau docker.yml unmap (ci#388), ci#375/#376 supersedes (ci#383/#384/#385), gh-actions/model/Makefile verify-images defensive check (ci#302/#303). request-checks: true --- .github/workflows/rake.yml | 3 +++ .rubocop.yml | 25 +++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index b13a247..9a6f9b2 100644 --- a/.github/workflows/rake.yml +++ b/.github/workflows/rake.yml @@ -8,6 +8,9 @@ on: tags: [ v* ] pull_request: +permissions: + contents: write + jobs: rake: uses: metanorma/ci/.github/workflows/generic-rake.yml@main diff --git a/.rubocop.yml b/.rubocop.yml index b69d50f..372b21e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,10 +1,31 @@ # Auto-generated by Cimas: Do not edit it manually! # See https://github.com/metanorma/cimas inherit_from: - - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml + - https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml + # .rubocop_todo.yml MUST be the last entry. inherit_from is last-wins: + # if listed before oss-guides, the shared config's stricter Metrics/ + # (MethodLength, BlockLength, etc.) rules override the todo's per-file + # grandfathering, and the todo becomes inert on those cops. Empirically + # verified on suma 2026-07-06: with todo listed first, 34 Metrics/* offenses + # remained; moved last, cleared. Every gem in the metanorma-org fleet + # already ships a `.rubocop_todo.yml` on its live tree (audited 2026-07-06, + # 54/54 have it), so this reference is safe to emit unconditionally. + - .rubocop_todo.yml + +# Rubocop plugins enabled centrally so every metanorma-org gem picks them up +# on cimas sync — best practice belongs at the shared-template layer, not +# per-repo. Per ronaldtse feedback on metanorma/ci#332. +plugins: + - rubocop-rspec + - rubocop-performance + - rubocop-rake # local repo-specific modifications # ... AllCops: - TargetRubyVersion: 2.5 + # 3.3 matches the org-wide minimum being pushed via #274 (Raise minimum + # Ruby version to 3.3 due to EOL of 3.2 on 2026-03-31). Was 3.4 before + # this commit — 3.4 was above the org's stated minimum and would have + # applied Rubocop rules that fail-close on gems still targeting 3.3. + TargetRubyVersion: 3.3