diff --git a/checks.tf b/checks.tf index b9d8e94..b0c1f2f 100644 --- a/checks.tf +++ b/checks.tf @@ -143,9 +143,10 @@ check "velnor_new_release_tags_reserved" { condition = ( toset(var.repository_policies["velnor-new"].tag_creation_rulesets["release-tags"].include) == toset([ "refs/tags/rust-ci-v*", "refs/tags/velnor-ci-v*", "refs/tags/velnor-gen-v*", + "refs/tags/tools-v*", "refs/tags/runner-v*", "refs/tags/actions-v*", ]) && length(var.repository_policies["velnor-new"].tag_creation_rulesets["release-tags"].bypass_user_ids) == 1 ) - error_message = "tailrocks/velnor-new must keep the release-tags ruleset: rust-ci-v*, velnor-ci-v*, and velnor-gen-v* tags, created only by one bypass user (tailrocks/velnor-new#682)." + error_message = "tailrocks/velnor-new must keep the release-tags ruleset: rust-ci-v*, velnor-ci-v*, velnor-gen-v*, tools-v*, runner-v* and actions-v* tags, created only by one bypass user (tailrocks/velnor-new#682)." } } diff --git a/variables.tf b/variables.tf index 9c4223b..13d707e 100644 --- a/variables.tf +++ b/variables.tf @@ -300,7 +300,11 @@ variable "repository_policies" { # Only the owner may create release tags (tailrocks/velnor-new#682). # The velnor-release GitHub App replaces this bypass later. "release-tags" = { - include = ["refs/tags/rust-ci-v*", "refs/tags/velnor-ci-v*", "refs/tags/velnor-gen-v*"] + # #1429: group-prefixed tags. rust-ci-v* stays until the transition ends. + include = [ + "refs/tags/rust-ci-v*", "refs/tags/velnor-ci-v*", "refs/tags/velnor-gen-v*", + "refs/tags/tools-v*", "refs/tags/runner-v*", "refs/tags/actions-v*", + ] bypass_user_ids = [139017] # donbeave } "sdk-preview-owner-creation" = {