Triggers
A workflow starts when an event fires, a push, a pull request, a schedule. Set the trigger so it runs exactly when it needs to; a wrong trigger is the most common reason an automation seems to 'not work'.
Jobs and steps
A job runs on a machine and is made of steps. Each step is a command. One workflow can have many jobs, and they can even run in parallel, which is useful when you have independent things to test.