GitHub Actions Certification — Question 13
Scheduled workflows run on the:
Answer options
- A. latest commit and branch on which the workflow was triggered
- B. latest commit from the branch named schedule
- C. latest commit from the branch named main
- D. specified commit and branch from the workflow YAML file
- E. latest commit on the default or base branch
Correct answer: A
Explanation
The correct answer is A because scheduled workflows are designed to run based on the latest commit and branch that initiated the workflow. The other options refer to specific branches or commits that do not accurately describe how scheduled workflows operate.