How is steps.actions.type determined in the builds endpoint?


By looking at past build data via the single build API endpoint, I’ve noticed each action under the steps of a build has a type and it can be one of the following values:

  • dependencies
  • machine
  • teardown
  • infrastructure
  • checkout
  • test
  • database
  • deployment
  • compile

How is this type determined from the action? Is there any documentation about this? I’d like to know if there are any rules/patterns that are used to categorize actions under each type.