trunk fmt) your commits every time you git commit, and run trunk check when you git push.
Triggers
There are several different types of Trunk Actions, based on when they are triggered:Command line
Discovering actions
The trunk plugins repo ships with a collection of actions that can help supercharge your repository and provide examples of how to write your own actions. To see a list of actions that you can enable in your repo run:.png?fit=max&auto=format&n=Jp89JT8l5x9D9wH9&q=85&s=8b667ac5e1923438fb0a29700604270f)
Enable/Disable actions
Trunk only runs actions listed in theenabled section of your trunk.yaml. Some built-in actions are enabled by default and can be disabled explicitly by adding them to the disabled list. You can always run trunk actions list to check the enabled status of an action.