QuestionQ21

Author and manage workflows

Where must workflow files be stored so that repository events can trigger them?

  • A anywhere
  • B Nowhere; they must be attached to an action in the GitHub user interface.
  • C .github/workflows/
  • D .workflows/
  • E .github/actions/
Explanation

GitHub Actions requires workflow files to be stored in the repository’s .github/workflows directory. GitHub searches that directory for workflow files associated with an event and triggers those whose on: configuration matches the event.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!