GITHUB-ACTIONS practice question 8 of 15

Where should workflow files be stored to be triggered by events in a repository?

Full set: 72 questions
Answer options
A: .github/workflows/ Correct answer
B: .github/actions/
C: Nowhere; they must be attached to an act on in the GitHub user interface
D: anywhere
E: .workflows/
Correct Answer:
A. .github/workflows/
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 GitHub events.

Scroll to Top