Run the same script for all of the workflow triggers and pass relevant vars into the script as environment variables.