GITHUB-ACTIONS · Question #9
Where should workflow files be stored to be triggered by events in a repository?
The correct answer is A. .github/workflows/. Workflow files must be stored in the .github/workflows/ directory of the repository. This is the standard location for GitHub Actions workflow files, and workflows in this directory are automatically triggered by events defined in the file, such as pushes, pull requests, or other
Question
Where should workflow files be stored to be triggered by events in a repository?
Options
- A.github/workflows/
- B.github/actions/
- CNowhere; they must be attached to an act on in the GitHub user interface
- Danywhere
- E.workflows/
How the community answered
(21 responses)- A95% (20)
- D5% (1)
Explanation
Workflow files must be stored in the .github/workflows/ directory of the repository. This is the standard location for GitHub Actions workflow files, and workflows in this directory are automatically triggered by events defined in the file, such as pushes, pull requests, or other
Topics
Community Discussion
No community discussion yet for this question.