Getting event type with toolkit

Is there a way to get the event type (push, cron, etc.) that triggered the action via the actions toolkit?

There’s a default environment variable named ‘github.event_name’. You can use it anywhere in your workflow if you want to verify how it was triggered.