trunk actions history <action_id> gives a history of the recent runs of an action and whether it succeeded. You can control how many recent runs to show with the --count flag (for example, trunk actions history trunk-upgrade-available --count=10). When available, a full stacktrace is written to a file and made available.
Failed action executions will also produce a notification so that background failures are periodically surfaced to the user.
You can also inspect action logs at .trunk/out/actions/<action_id>/.
We recommend running actions manually when you develop them to verify that they work correctly.
Output Level
To see a more verbose output when running trunk actions, particularly from git-hooks, you can add the following to yourtrunk.yaml: