Learning center

When to copy a CI artifact cited by a code review

Compare the artifact’s expiry with the period for which the decision needs to be readable. If the CI host will expire it first, copy the necessary output to an approved store while it can still be retrieved. Retain the run, artifact ID and digest.

Keep one replay that settled a review#

In a fictional review, a passing replay report answers whether an older consumer reads a new event. The team needs the report for a year. Its fixture CI artifacts expire after 30 days. When the review completes, export the specific report while access remains available. Record which commit and run produced it, the artifact identifier and the SHA-256 of the retained file or archive.

Try opening the exported report with an authorized reader account before calling the export complete. A direct GitHub artifact download uses a temporary redirect URL. Keep a durable archive locator and identifying metadata so retrieval does not depend on that redirect. GitHub artifact retention · GitHub artifact metadata and downloads

If the original bundle includes inputs the team should not retain, extract the approved report first and record what it covers.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading