Where must workflow YAML files be located within a GitHub repository to be recognized by GitHub Actions?
Select an answer to reveal the explanation.
Short Explanation
The .github/workflows/ directory is the magic mailbox — GitHub only picks up workflow files from exactly that path.
Full Explanation
GitHub Actions only recognizes workflow files with .yml or .yaml extensions located in the '.github/workflows/' directory at the repository root. The directory must be spelled exactly with the leading dot (hidden directory convention). '.github/actions/' is used for action definitions (action.yml), not workflow files. '.workflows/' and 'github/workflows/' (without the dot) are not recognized. Each YAML file in '.github/workflows/' can define one complete workflow with its own triggers.