thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Workflow Trigger

The event, defined under the on key, that causes a GitHub Actions workflow to run.

Definition

Common triggers are push, pull_request, schedule (cron), workflow_dispatch (manual with inputs), workflow_call (reusable), release, and repository_dispatch (external API). Filters restrict by branch, tag, or path.

Example

on: { schedule: [ { cron: '0 2 * * 1' } ], workflow_dispatch: {} }

Exam tip

workflow_dispatch = manual run; repository_dispatch = triggered via the REST API from outside; schedule uses UTC cron.

Related terms