nerdexam
GitHub

GITHUB-ACTIONS · Question #55

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

The correct answer is A. REPOSITORY NAME. The GITHUB_REPOSITORY environment variable contains the owner and repository name in the format owner/repository. It is automatically provided by GitHub Actions and can be used to

GitHub Actions - Environment Variables

Question

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

Options

  • AREPOSITORY NAME
  • BGITHUB REPOSITORY
  • CENV REPOSITORY
  • DGITHUB WORKFLOW REPO

How the community answered

(22 responses)
  • A
    91% (20)
  • C
    5% (1)
  • D
    5% (1)

Explanation

The GITHUB_REPOSITORY environment variable contains the owner and repository name in the format owner/repository. It is automatically provided by GitHub Actions and can be used to

Topics

#default environment variables#GITHUB_REPOSITORY#workflow context

Community Discussion

No community discussion yet for this question.

Full GITHUB-ACTIONS Practice