Skip to content
play

GitHub Action

Checkout repositotory

v1.0.1 Latest version

Checkout repositotory

play

Checkout repositotory

Checkout repository to specified dir (even if destination dir is not empty)

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Checkout repositotory

uses: CodersLab-core/[email protected]

Learn more about this action in CodersLab-core/action-checkout-and-move

Choose a version

Checkout repository to specified dir (even if destination dir is not empty)

Usage

- uses: Coderslab-core/action-checkout-and-move@v2
  with: 
    # Repository name with owner. For example, Coderslab-core/shared-actions
    # Required: yes
    repository:
    
    # Repository content target path. For example .github/actions (repository content will be merged with given path)
    # Required: yes
    dest-path:
    
    # Personal access token (PAT)
    # Required: no
    # Default: ""
    token:

    # Temporary path to checkout repo before it's content will be moved to destination path
    # Required: no
    # Default: tmp-shared-actions
    tmp-path: