What is actions/checkout@v2 in Github action? #25682
Answered
by
mcaskill
karenworld
asked this question in
Actions
|
Hi, |
Answered by
mcaskill
Jul 20, 2021
Replies: 1 comment
|
It is an official GitHub Action used to check-out a repository so a workflow can access it. actions/checkoutAction for checking out a repo. Contribute to actions/checkout development by creating an account on GitHub. By default, this action will check-out to the SHA for that workflow’s event (such as |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

It is an official GitHub Action used to check-out a repository so a workflow can access it.
actions/checkout
Action for checking out a repo. Contribute to actions/checkout development by creating an account on GitHub.
By default, this action will check-out to the SHA for that workflow’s event (such as
pushandpull_request). Otherwise, uses the default branch (usuallymainormasterin a standard repository).