Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

utils/github: take last artifact rather than first #13321

Merged
merged 1 commit into from
May 24, 2022

Conversation

Bo98
Copy link
Member

@Bo98 Bo98 commented May 24, 2022

We had an issue where a CI run contained multiple artifacts of the same name: https://github.com/Homebrew/homebrew-core/actions/runs/2352886523

This is the first time I've ever seen it happen, so the issue is perhaps very rare or was the result of a temporary issue, but in such cases I believe taking the last artifact is more correct than taking the first, given the last one should have a higher ID number and thus have been created most recently.

@Bo98 Bo98 added the critical Critical change which should be shipped as soon as possible. label May 24, 2022
@BrewTestBot
Copy link
Member

Review period skipped due to critical label.

@Bo98 Bo98 merged commit bc4776d into Homebrew:master May 24, 2022
@Bo98 Bo98 deleted the last-artifact branch May 24, 2022 22:56
@MikeMcQuaid
Copy link
Member

Makes sense thanks @Bo98.

@github-actions github-actions bot added the outdated PR was locked due to age label Jun 25, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
critical Critical change which should be shipped as soon as possible. outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants