Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

We should use repository rulesets to prevent the deletion or modification of released tags and critical release branches

Open
#14,134 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
github
Domain
release, security

Research direction

Start by reviewing the repository rules linked in the issue and the tag-protection example in .asf.yaml from Apache Flume. Confirm which released tags and critical release branches need protection, then configure active rulesets that block deletion and modification while limiting bypass access. Done means the matching rules and permitted bypass roles are documented and verified.

Written by the indexing model from the issue text.

Description

type:improvement

We can setup rules for released tags and also other branches. See our rules:

https://github.com/apache/cloudstack/rules/

Not 100% sure but seems like anyone with write access can delete releases and checkout the pictures attached

See Apache Flume they have tag protection setup in their .asf.yaml:

https://github.com/apache/logging-flume/blob/7b41e071caf1566bf73add2f40b530875d61da10/.asf.yaml#L94

Image

Yes, an Apache Software Foundation (ASF) project should use repository rulesets to prevent the deletion or modification of released tags and critical release branches.

Benefits of Using Rulesets for Releases
  • Supply Chain Security: Restricting deletions and updates on tags prevents malicious or accidental tampering with published software artifacts.
  • Flexibility and Targeting: Unlike legacy branch protection, GitHub Rulesets can target tags using naming patterns (e.g., v* or specific release tags) alongside branches.
  • Audit Transparency: Anyone with read access can view active rulesets, helping project auditors verify compliance and governance without requiring admin privileges.
  • Preventing Force Pushes: Rulesets allow projects to block force-pushes and restrict deletions to designated release managers or PMC members.
Recommended Practices
  • Set rulesets to Active enforcement for any matching patterns of released tags or stable maintenance branches.
  • Restrict bypass permissions strictly to trusted release officers or infrastructure administrators.
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 20h
Merged PRs (30d)
27

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/cloudstack

All issues in apache/cloudstack

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.