Skip to content

chore: add release tag protection ruleset for code repos - #214

Open
marcusburghardt wants to merge 2 commits into
complytime:mainfrom
marcusburghardt:chore/tag-protection-ruleset
Open

chore: add release tag protection ruleset for code repos#214
marcusburghardt wants to merge 2 commits into
complytime:mainfrom
marcusburghardt:chore/tag-protection-ruleset

Conversation

@marcusburghardt

Copy link
Copy Markdown
Member

Summary

Add an org-level ruleset to prevent deletion and force-push of release
tags (v*) across all code repositories. Protects supply chain integrity
by ensuring published version tags remain immutable.

What it does

Rule Effect
deletion Prevents deleting v* tags
non_fast_forward Prevents force-pushing v* tags to a different commit

Scope

All code repos:
complyctl, complypack, complytime-collector-components, complytime-policies,
complytime-providers, homebrew-tap, org-infra

Non-code repos (community, complytime, complytime-demos, website) are excluded
since they do not publish versioned artifacts.

Context

This replaces the manually created "tags" ruleset on complypack (id=18348763),
which was the only repo with tag protection. The same rules are now applied
consistently to all code repos.

Post-merge steps

  1. Run safe-settings sync to create the org-level tag ruleset
  2. Delete the manual "tags" ruleset from complypack (id=18348763)

Add org-level ruleset to prevent deletion and force-push of
release tags (v*) across all code repositories. This protects
supply chain integrity by ensuring published version tags
remain immutable.

Replaces the manual "tags" ruleset on complypack (id=18348763)
and extends the same protection to all code repos.

Assisted-by: OpenCode (claude-opus-4-6)
Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
Most manual repo-level rulesets have been removed. Update the
migration comment to list only the two remaining:
- complypack: tags — replaced by the new release tag protection
- complytime: main — replaced by repos/complytime.yml

Assisted-by: OpenCode (claude-opus-4-6)
Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants