Which default environment variable specifies the branch or tag that triggered a workflow?
A.
GITHUB_TAG
B.
GITHUB_REF
C.
ENV_BRANCH
D.
GITHUB_BRANCH
The Answer Is:
B
This question includes an explanation.
Explanation:
The GITHUB_REF environment variable specifies the branch or tag that triggered the workflow. It contains the full reference to the branch or tag, such as refs/heads/main for a branch or refs/tags/v1.0 for a tag.
GH-200 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"