Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions cdn/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ locals {

# role key => which repository refs may assume it, and which object
# prefixes it may write. "*" means the whole bucket.
#
# Repositories created (or renamed) after 2026-07-15 present the immutable
# sub claim, which embeds the owner and repository ids:
# "repo:OWNER@OWNER-ID/REPO@REPO-ID:ref:..." — the ids are shown at the
# repository's /settings/actions/oidc-configuration page. Older
# repositories keep the classic "repo:OWNER/REPO:ref:..." form.
docs_sync_repos = {
ruby-actions = {
subs = ["repo:ruby/actions:ref:refs/heads/master"]
Expand All @@ -41,8 +47,13 @@ locals {
}
run-ruby-wasm = {
# The binaries are cut as GitHub Releases, so a release-triggered sync
# workflow presents a tag ref, not the branch.
subs = ["repo:rurema/run-ruby-wasm:ref:refs/heads/main", "repo:rurema/run-ruby-wasm:ref:refs/tags/*"]
# workflow presents a tag ref, not the branch. Created 2026-08-16, so
# the sub is the immutable form (rurema = 4122513,
# run-ruby-wasm = 1335558093).
subs = [
"repo:rurema@4122513/run-ruby-wasm@1335558093:ref:refs/heads/main",
"repo:rurema@4122513/run-ruby-wasm@1335558093:ref:refs/tags/*",
]
prefixes = ["wasm/*"]
}
}
Expand Down