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

dispatch-build-bottle: run brew update #187575

Merged
merged 2 commits into from
Sep 12, 2024
Merged

dispatch-build-bottle: run brew update #187575

merged 2 commits into from
Sep 12, 2024

Conversation

carlocab
Copy link
Member

@carlocab carlocab requested review from MikeMcQuaid and a team as code owners September 11, 2024 23:44
@github-actions github-actions bot added automerge-skip `brew pr-automerge` will skip this pull request workflows PR modifies GitHub Actions workflow files labels Sep 11, 2024
@Bo98
Copy link
Member

Bo98 commented Sep 12, 2024

That'll be because it was dispatched in the 5 minute window that a PR was open.

Could check open PRs but is it worth it?

@Bo98
Copy link
Member

Bo98 commented Sep 12, 2024

Could also I guess make the upload workflow wait for the PR to be merged and thus hold on to the concurrency lock.

Copy link
Member

@Bo98 Bo98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do agree with this in general though - just wouldn't quite catch the example you linked and may need to be paired with one of the above.

carlocab and others added 2 commits September 12, 2024 15:39
Still seeing duplicate bottle jobs: https://github.com/Homebrew/homebrew-core/actions/runs/10820149397

Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
This should also help mitigate duplicate build issues. We use `gh api`
instead of `gh pr view` in order to minimise the number of API calls we
have to make.
@carlocab
Copy link
Member Author

I do agree with this in general though - just wouldn't quite catch the example you linked and may need to be paired with one of the above.

Done the latter.

@carlocab carlocab added this pull request to the merge queue Sep 12, 2024
Merged via the queue into master with commit e42f0a2 Sep 12, 2024
18 checks passed
@carlocab carlocab deleted the dispatch-brew-update branch September 12, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge-skip `brew pr-automerge` will skip this pull request workflows PR modifies GitHub Actions workflow files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants