REQUEST: Repository maintenance on opentelemetry-collector-releases

Open
#3,665 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
github-actions
Domain
devops

Research direction

Start with the repository configuration guidelines and issue #1088, then inspect the existing cleanup workflow described there. Confirm how the organization’s immutable tag rule applies to this repository and whether a tag-pattern exception is supported. Done means nightly release tags and resulting container image tags can be cleaned up without violating the organization policy.

Written by the indexing model from the issue text.

Description

area/repo-maintenance
Affected Repository

https://github.com/open-telemetry/opentelemetry-collector-releases

Requested changes
Allow exception for deleting tags with specific pattern in repo

In the otel-collector-releases repo, we do nightly releases to make sure that the release works end to end and that new changes on the collector source code repos still work when it comes to the release. This produces 3 tags every night.

Purpose

Until now, those tags were never cleaned up and pollute the repo quite a bit. As part of https://github.com/open-telemetry/opentelemetry-collector-releases/issues/1088, I wrote a github workflow to clean up those tags together with the resulting container image tags, but ran into troubles because of immutable github tag rules.

Is there any way we can add an exception to that org-level rule for our repo? The only alternative I see would be to have some maintainer-level bot user with a token which would then be able to use the maintainer bypass in the rule.

Expected Duration

permanently

Repository Maintainers
  • @open-telemetry/collector-releases-maintainers
Dominant language
Python
Stars
1.2k
Forks
326
Avg merge
1d 12h
Merged PRs (30d)
13

Getting set up

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 open-telemetry/community

All issues in open-telemetry/community

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.