Skip to content

Conversation

@erezrokah
Copy link
Member

Summary

To avoid a recursive workflow when adding the release summary to release PRs, we check that the number of commits is 1, and only then run the release summary workflow.
The issue is that sometimes Kodiak's is faster than our CI, and does a merge with main commit before we manage to add the summary commit, hence it never gets added.

This PR improves the CI by filtering out commits to only include cq-bot commits, so Kodiak commits are ignored.
See example PR where this race condition happened:
#11139
https://github.com/cloudquery/cloudquery/pull/11139/commits
https://github.com/cloudquery/cloudquery/actions/runs/5192224428/jobs/9361094081

@erezrokah erezrokah force-pushed the chore/fix_release_summary_condition branch from 7b76eab to ec3cb70 Compare June 6, 2023 19:22
@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Jun 7, 2023
@erezrokah erezrokah requested review from candiduslynx and removed request for hermanschaaf and yevgenypats June 8, 2023 10:55
@kodiakhq kodiakhq bot merged commit 459e6cf into cloudquery:main Jun 8, 2023
@erezrokah erezrokah deleted the chore/fix_release_summary_condition branch June 8, 2023 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants