Repository navigation
chore(github): add the release-automation CI - #1127
Merged
Merged
Conversation
unicorn/number-literal-case wants 0xFF and Prettier writes 0xff, so a read-only lint check cannot pass on a hexadecimal literal. The test uses 255. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
lint:check checks eslint, prettier, textlint and cspell without rewriting a file, for the CI. lint keeps rewriting files for the local use. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- test.yml: the Minimum CI on ubuntu (test, commit-check, lines-check, ci-ok), for dev, v6 and main, and for the merge queue - full-ci.yml: the Full CI on ubuntu and macOS for Release PRs and the Nightly - nightly.yml: the Full CI of each line once a day, the release-blocker Issues - renovate.json: baseBranchPatterns [dev, v6], which lines-check requires Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
release-automation guard reads the line branches from release-lines.json. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
It lists the supported versions and the private way to report a vulnerability. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
YusukeHirao
requested review from
arktds,
dz-furukawa,
teppei-d and
yusasa16
as code owners
December 2, 2026 12:39
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.
内容
CI を
@d-zero/release-automationの形に替える。@d-zero/release-automation:0.1.2 を devDependencies に固定で入れるpackage.json:読み取り専用のlint:check系の scripts を足す(lint:eslint:check、lint:prettier:check、lint:textlint:check)。lintは、書き換えながら検査する形のまま.github/workflows/test.yml:Minimum CI。ubuntu でyarn build、yarn lint:check、yarn test。ジョブはtest、commit-check、lines-check、ci-ok。対象はdev・v6・mainへの PR と Merge Queueyarn install --refresh-lockfileは外し、全 PR でyarn install --immutableにする.github/workflows/full-ci.yml:Full CI。ubuntu と macOS で、Release PR と Nightly だけ動く。必須チェックはfull-ci-ok.github/workflows/nightly.yml:毎日、各系列の Full CI を起動し、release-blockerの Issue を管理する.husky/pre-commit:系列のブランチへの直接のコミットを拒否する(release-automation guard)SECURITY.md:サポートするバージョンと、非公開の報告窓口.github/renovate.json:baseBranchPatternsを["dev", "v6"]にする(lines-checkの要件)。そのほかの Renovate の設定は、別の PR で標準の形にするdownload-resources.spec.ts:16進数のリテラル(0xff)を255にする(下の注意)確かめたこと
actionlint、release-automation lines-checkが通るyarn lint:check、yarn build、yarn testが通る(28ファイル・368件)注意
yarn lintは、CI の中で書き換えながら通っていた。 読み取り専用のlint:checkにすると、download-resources.spec.tsの0xffが、ESLint(unicorn/number-literal-caseは0xFFを求める)と Prettier(0xffに整える)で衝突して、通らなかった。255にして、どちらにも反しない形にしたdevの classic の保護は、必須チェックにtest (macOS-latest, 24)を要求している。この PR でジョブを替えるので、そのチェックは出なくなる。この PR は Admin のバイパスでマージする。マージ後、保護を Ruleset に移す(必須チェックはci-ok・lines-check)v6にも、同じ CI を入れる PR が別に要る。v6への PR が、lines-checkとci-okを持つのは、その後v6にも.github/release-lines.jsonが要る(別の PR)。devにはすでにある対象外
release-pr.yml、verify-release-pr.yml、publish.yml):別の手順approve-renovate.ymlを含む):別の PRlerna.jsonのv6の版、v5/alphaの扱い🤖 Generated with Claude Code