nerdexam
Microsoft

GH-200 · Question #89

Which default GitHub environment variable indicates the owner and repository name?

The correct answer is A. GITHUB_REPOSITORY. Variables reference Find information for supported variables, naming conventions, limits, and contexts in GitHub Actions workflows. Variables include: * GITHUB_REPOSITORY The owner and repository name. For example, octocat/Hello-World…

Author and Maintain Workflows

Question

Which default GitHub environment variable indicates the owner and repository name?

Options

  • AGITHUB_REPOSITORY
  • BGITHUB_WORKFLOW_REPO
  • CENV_REPOSITORY
  • DREPOSITORY_NAME

How the community answered

(46 responses)
  • A
    87% (40)
  • B
    4% (2)
  • C
    2% (1)
  • D
    7% (3)

Explanation

Variables reference Find information for supported variables, naming conventions, limits, and contexts in GitHub Actions workflows. Variables include: * GITHUB_REPOSITORY The owner and repository name. For example, octocat/Hello-World https://docs.github.com/en/actions/reference/workflows-and-actions/variables

Topics

#GitHub Actions#Environment Variables#Workflow Context#Repository Information

Community Discussion

No community discussion yet for this question.

Full GH-200 Practice