Repository navigation
ci: Renovate の共通の設定と CI の再利用ワークフロー - #21
Merged
Merged
Conversation
security.yml (gitleaks で履歴全体、高リスクの脆弱性は警告、追加の検査、GitHub Packages の認証は入力で) と release.yml (release-please と、版が上がったパッケージの公開) を workflow_call で置き、 このリポジトリの ci.yml もそれを呼ぶ。ほかのリポジトリが同じものを使う (ADR-0009)。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
各リポジトリは local>lumorphia/platform//renovate/default を extends で読む。自分たちのパッケージ (@lumorphia/*) は公開してすぐに上げる決まりを足した。このリポジトリもそれを読む (ADR-0009)。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
lumorphia/scenote の ADR-0006 の順番の 6 番目、開発の道具 (ADR-0009)。見比べた結果と案は会話で合意した: Renovate の共通の設定と CI の再利用ワークフローだけを共通にし、Prettier・TypeScript・ESLint の基本の設定はパッケージにせず手本を AGENTS.md に書き、E2E の土台は Scenote の骨組みと一緒に切り出す。
CI の再利用ワークフロー (
on: workflow_call)security.yml: gitleaks (履歴全体、版とチェックサムを固定)、高リスクの脆弱性 (警告)、追加の検査。入力はgithub-packages(private の @lumorphia/* を読むか)、audit-command、extra-command(例: prismtone のpnpm licenses:check)release.yml: release-please と、版が上がったパッケージだけを GitHub Packages に公開 (platform・umbra の形。editor は 3 つを同じ版で出すので今のまま)ci.ymlも./.github/workflows/...で呼ぶ形にした。この PR の CI の security ジョブが、再利用ワークフローで動くことの確かめになる。release は main への push で動くRenovate の共通の設定 (
renovate/default.json)@lumorphia/*は公開してすぐに上げる決まりを足した。各リポジトリは"extends": ["local>lumorphia/platform//renovate/default"]renovate-config-validator(Renovate 44.148.6) で 2 つのファイルを検証したほかのリポジトリの載せ替え (この PR が main に入ってから、リポジトリごとの PR で): accounts・umbra・editor・prismtone の
renovate.jsonを extends に、ci.ymlの security (と umbra の release) を再利用ワークフローに。Renovate と、ほかのリポジトリからの呼び出しは main の版を読むため。🤖 Generated with Claude Code