Repository navigation
docs: deploy identity mode guide (CI-only / Permissive as first-class modes) - #207
Merged
Merged
Conversation
2 tasks done
h13
force-pushed
the
docs/193-deploy-identity-modes
branch
2 times, most recently
from
December 2, 2026 10:45
08bad47 to
a1c2275
Compare
h13
force-pushed
the
docs/193-deploy-identity-modes
branch
from
December 2, 2026 11:17
a1c2275 to
1ccea64
Compare
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.
Closes #193
変更内容
main上のcd.yml(workflow_run起動)から実行された deploy 環境ジョブのみ / GitLab は保護 ref 上の deploy 環境ジョブのみ)--attribute-condition(workflow_run+workflow_ref=main の cd.yml +environment。GitLab はref_protected+environment)と environment 属性への grant、② 両 environment の deployment branch policy(mainのみ、feat: init.sh で production / development environment の保護設定(required reviewers / prevent self-review)を行うオプション #203 の--branch-policy参照)、③dev/mainブランチ保護の org 全体強制(代替: fleet 専用 org に信頼を限定)、④ WIF 必須(legacyCLASPRC_JSONは不適合)workflow_runの OIDC claim 実機未確認)を docs 内に明記~/.clasprc.json/.clasp.jsonを削除(hook は head_branch のコードを実行するため共有トークンを渡さない)依存
./scripts/init-sandbox.sh(PR feat: CI-only モード向けの個人 sandbox ツーリング #204)と./scripts/configure-environments.sh(PR feat: init.sh / configure-environments.sh で environment 保護を設定可能に #206)を参照します。feat: CI-only モード向けの個人 sandbox ツーリング #204 / feat: init.sh / configure-environments.sh で environment 保護を設定可能に #206 を先にマージしてください。Test plan
actionlintが cd.yml を pass.gitlab/cd.ymlの YAML パース OKbash -n scripts/fetch-clasp-credentials.shOK