This would enable a run of capt integrate to look for a .capt/integration.sh file that could be called from a gh-action. It wouldn't contain all the standard triggers, but would just be a single section that had a set of triggers.
Another approach would be to just use the existing share.sh file with an integration hook array with the triggers to be run by CI. That makes it also simple to run capt integration locally to see its behavior.
This would enable a run of
capt integrate
to look for a.capt/integration.sh
file that could be called from a gh-action. It wouldn't contain all the standard triggers, but would just be a single section that had a set of triggers.Another approach would be to just use the existing
share.sh
file with anintegration
hook array with the triggers to be run by CI. That makes it also simple to runcapt integration
locally to see its behavior.