GITHUB-ACTIONS practice question 2 of 15
Which default GitHub environment variable indicates the owner and repository name?
Full set: 72 questionsCorrect Answer:
A. REPOSITORY NAME
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 reference the repository in workflows.
Keep practicing
Take the free GITHUB-ACTIONS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GITHUB-ACTIONS practice questions
- Question 1Which statement is true about using default environment variables?
- Question 3Which workflow event is used to manually trigger a workflow run?
- Question 4Which default GitHub environment variable indicates the name of the person or app that in…
- Question 5You are reaching your organization's storage limit for GitHub artifacts and packages. Wha…
- Question 6Which choices represent best practices for publishing actions so that they can be consume…
- Question 7In which scenarios could the GITHUB_TOKEN be used? (Choose two.)
