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

Only run ci on push to real branches #4375

Merged

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Jun 29, 2024

This is a followup to #4373 fixing yet another issue that seems to be happening with merge queues, it's visible in this screenshot:

image

I believe what's happening here is that the merge queue machinery is kicking off two separate groups of actions simultaneously, one corresponding to the push event on the temporary integration branch, and the other corresponding to the merge_group event "Merge group checks requested". We should really only be triggering on the merge_group event, so this PR limits the push events that trigger actions to only the final pushes when the integration branch closes and the queue pushes to master (which is still a somewhat redundant build, but the only way we can ensure the cache gets rewritten, and anyways it's only two action-triggers per PR, vs. the current three).

(Also note this is really a copy-paste mistake on my part, Leigh did this correctly on the soroban repos)

@graydon graydon added this pull request to the merge queue Jul 1, 2024
Merged via the queue into stellar:master with commit f2a79d9 Jul 1, 2024
14 checks passed
@graydon graydon deleted the only-run-ci-on-push-to-real-branches branch July 1, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants