Remove edited
type from PR automation init review trigger, enable concurrency
#3771
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes
Fixes #3770 by @AetherUnbound (hopefully, hard to know ahead of time)
Description
Update: This PR now only removes
edited
from thepull_request_review
trigger type. It also adds a concurrency limit, per @dhruvkb's suggestion: #3771 (comment)This PR removes the
edited
type from both thepull_request
andpull_request_review
workflow triggers for the PR automation init workflow. I suspect that this particular trigger is unnecessary for any of the actions we actually want to take when the workflow is triggered. It also makes debugging difficult. When looking at the init run history, it's hard to tell which events actually triggered the run in some cases:I'm hoping that this somehow addresses the issue for why the PR automation was seemingly triggered in some cases and not others, as perhaps there was a race condition between
edited
andclosed
.Testing Instructions
Merge and find out!
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin