Closed guymguym closed 2 years ago
Potentially adapt this for a bot workflow instead of github actions
@RobotSail created a github app on his account. To be transfered to @redhat-et or to its own org.
closing this one in favor of the bot repo - https://github.com/redhat-et/copilot-ops-bot/issues/2
Currently the bot only comments back with stdout and stderr of executing copilot-ops, see for example - https://github.com/redhat-et/copilot-ops/issues/51#issuecomment-1150280283.
We can improve it the elephant salami method:
--write
to apply the generate/edit changes to the checked out repo, and then create a git diff output that will be sent as the answer to the issuer.copilot-ops-fix-<issuenumber>
, so that subsequent requests on the same issue would checkout the same PR, and every request will then push a new commit to this PR.