Skip to main content
InterviewHubPRO
Section Overview
Q3

Question 3 of 50

Part 1: CI/CD Fundamentals & GitHub Actions Core (Junior / Entry-Level)

6%
CI/CD & GitHub Actions (50 Qs)•Part 1: CI/CD Fundamentals & GitHub Actions Core (Junior / Entry-Level)

What workflow triggers (`on:`) are supported by GitHub Actions?

junior LevelMost AskedState ManagementCI/CD & DevOps

In Simple Words: GitHub Actions can trigger workflows on repository webhooks, manual triggers, and time-based schedules:

  • push: Triggered on code pushes to specific branches or tags.
  • pull_request: Triggered when PRs are opened, synchronized, or reopened.
  • workflow_dispatch: Adds a manual "Run workflow" button in the GitHub UI with customizable input fields.
  • schedule: Runs at specified cron intervals (e.g. cron: '0 2 * * *' for 2 AM daily).
  • repository_dispatch: Triggered via external REST API webhooks from external systems (e.g. Jira, Slack, PagerDuty).
  • release: Triggered when a new GitHub release or tag is published.