Skip to content

checkout github repo

Actions
Clone github repo and checkout commit
8
Latest
Star (5)

checkout github sources using git

This action is a replacement of standard github’s actions/checkout action. This action is implemented as composite action, so it does not require node.js interpreter. The standard actions/checkout is written in javascript and sometimes it is not possible to have node12 injected to the container.

prerequisites

  • git must be available. So, make sure git is installed before calling this action.

step syntax

- name: <name>
  uses: myci-actions/checkout@<version>
  with:
    submodules: <true/false>

arguments:

  • <submodules> - Whether to clone submodules or not. Branch-tracking submodules are updated to the branch tip. Optional. Default value: true.

Step example:

- name: checkout sources
  uses: myci-actions/checkout@8

checkout github repo is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Clone github repo and checkout commit
8
Latest

checkout github repo is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.