-
Notifications
You must be signed in to change notification settings - Fork 341
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
Feature comment target #1228
Feature comment target #1228
Conversation
tasdomas
commented
Oct 15, 2022
•
edited
Loading
edited
- Allow creation of issue comments in cml #1202
- Add comment target flag and parsing #1241
- test for no breaking changes
- open documentation follow-up Document comment target flag and provide examples. cml.dev#415
* Add command-line option for issue id. * Driver support for issue comments. * Create or update issue comments. * Number as issue id. * Fix cli test. * Address review comments. * Remove conflict between --issue and --commitSha. Since commitSha has a default value ('HEAD'), it is treated as always set. * Fix usage of octokit. * Add e2e issue comment creation tests for github and bitbucket drivers. * Default values for issue id in e2e tests. * Add gitlab issue comment e2e test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider this suggestion just to reduce some boilerplate.
If you still want to continue with the current code is still OK
🙏
Co-authored-by: DavidGOrtega <[email protected]>
Co-authored-by: DavidGOrtega <[email protected]>
Co-authored-by: DavidGOrtega <[email protected]>
Hi @tasdomas, do I understand it correct that this feature would allow to comment (and update comments) on a pull request given the respective pr number on the repo? I was about to open an issue as I seem to have run into a deadlock with commenting on a pr in the target repo when working with forks. Seems like this could resolve the issue. |
Yes, this will be one of the features this will introduce |
Sounds awesome! Do you have an eta for the pr / whats your release cycle? |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Are there any blockers for this? Too big & scary for anyone to click "merge"? |
was waiting for the tests to pass |
And I can't merge this - need an approval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what could possibly go wrong