From 38c0d2533b33ddc74c954bf170408e72ae3aa2c7 Mon Sep 17 00:00:00 2001 From: Alexey Zhokhov Date: Thu, 19 Nov 2026 12:28:59 +0700 Subject: [PATCH] velnor-new: allow tools-v, runner-v and actions-v release tags Owner decision on tailrocks/velnor-new#1429: every release tag carries a group prefix. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Alexey Zhokhov --- checks.tf | 3 ++- variables.tf | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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" = {