-
Notifications
You must be signed in to change notification settings - Fork 14
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
Replace ComposerLockDiff functionality with a sticky PR comment instead #332
Comments
Related: #317 |
My proposal (with approval already from @justafish) is to replace updating the PR body with a sticky comment using https://github.com/marocchino/sticky-pull-request-comment. |
@YesCT and I were just talking about this yesterday. We've had multiple projects where we successfully switched to posting to a comment to avoid this issue. +1 for switching Drainpipe posting to comment. |
Also would be looking to remove DDEV as a dependency of this task to help speed up the job (would also fix #239) and just use composer natively like we did on another client independent of Drainpipe which seemed to work really well and be fast. |
I updated this to also add a one-line change to only run the action at all if composer.lock is modified. |
I think it would still need to run on push because it's possible for a PR to have a composer.lock change initially, but then not have one after merging in updates, so it would still need to delete the comment in that case. But running the diff could be conditional on changes in that file. |
here's an alternative solution that combines it with the security checks - 2 birds with 1 stone! |
Trying to preserve the original content of a comment is causing too many bugs, and doesn't work well when there are edit conflicts
The text was updated successfully, but these errors were encountered: