Closed Bug 2094149 Opened 12 days ago Closed 11 days ago

Create Github Action to prune stale branches from "try-like" repos

Categories

(Conduit :: Administration, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahal, Assigned: ahal)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Repos like mozilla-firefox/firefox-dev and mozilla-firefox/firefox-dev-secure will accumulate branches as people push disposable changes for testing. We should have a cron job that prunes branches older than a certain date that runs every once in awhile.

Try pushes to firefox-dev and firefox-dev-secure leave user/ branches
behind that are never deleted, and jj users get a new one for every
change they push. Delete those whose head commit is older than the
artifact expiry so the ref count stays bounded.

Blocks: 2092152
Attachment #9684991 - Attachment description: Bug 2094149 - Add a GitHub workflow to prune stale try branches. r?zeid! → Bug 2094149 - DOT_GITHUB_OVERRIDE: Add workflow to prune stale dev branches. r?zeid!
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1e18aec39ea3 https://hg.mozilla.org/integration/autoland/rev/07c5218f0d68 DOT_GITHUB_OVERRIDE: Add workflow to prune stale dev branches. r=zeid,conduit-reviewers
Status: ASSIGNED → RESOLVED
Closed: 11 days ago
Resolution: --- → FIXED
See Also: → 2094542
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: