Ask composer to perform an action when changes are accepted

There have been a couple of scenarios I have come across now which would benefit from having an agent trigger when code changes are accepted. Ideally, the agent would take no action until I explicitly request it to do so. IE: “When I accept code changes, I want you to commit and push the changes”

Examples:

  1. I was making changes to a github actions pipeline and I need to commit and push the changes so I can watch the pipeline execute. Also, being able to watch a process and give me the results. IE: "When I accept code changes, I want you to push the changes, then use Github CLI to watch the pipeline execute, and report back with any issues found.

  2. I was making changes to a BigQuery dataform project. It would have benefited from me being able to ask it “When I accept code changes, I want you to commit and push the code”.