nerdexam
Microsoft

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'…

Modern Development

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)
  • A
    93% (25)
  • D
    4% (1)
  • E
    4% (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

#GitHub Actions#Workflow definition#YAML syntax#Repository structure

Community Discussion

No community discussion yet for this question.

Full GH-900 Practice