MicahElliott / captain

A simpler approach to git-hook management
Other
2 stars 0 forks source link

Support a CI hooks control file, integration.sh, or just use array in share.sh #16

Closed MicahElliott closed 11 months ago

MicahElliott commented 11 months ago

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.