GH-900 · Question #129
Which of the following is distinctive of GitHub Actions workflows? (Choose two.)
The correct answer is A. stored in the .github/workflows directory in a GitHub repository C. built using YAML syntax. GitHub Actions workflows have two defining characteristics: (A) they are stored as files inside the .github/workflows/ directory of the repository, which is what GitHub scans to discover and register them; and (C) they are written in YAML syntax, using keys like 'on', 'jobs'…
Question
Which of the following is distinctive of GitHub Actions workflows? (Choose two.)
Options
- Astored in the .github/workflows directory in a GitHub repository
- Bbuilt using the GitHub Workflow Designer
- Cbuilt using YAML syntax
- Donly supported in public repositories
- Estored as JSON files
How the community answered
(27 responses)- A93% (25)
- D4% (1)
- E4% (1)
Explanation
GitHub Actions workflows have two defining characteristics: (A) they are stored as files inside the .github/workflows/ directory of the repository, which is what GitHub scans to discover and register them; and (C) they are written in YAML syntax, using keys like 'on', 'jobs', and 'steps'. There is no official GitHub Workflow Designer (B) - workflows are hand-authored YAML. Workflows work in both public and private repositories (D is false). They are YAML, not JSON (E is false).
Topics
Community Discussion
No community discussion yet for this question.