Skip to content

Repository files navigation

action-checkout

One-shot checkout of a repository with submodules and tags, basically a shorthand for:

- uses: actions/checkout@<latest stable>
  with:
    fetch-depth: 0
    submodules: recursive
- shell: bash
  run: git fetch --tags -f

The only available option is token, that can be used to preconfigure the checked out repository authorization. If omitted, the value does not get passed to actions/checkout

steps:
  - name: Checkout
    uses: danysk/action-checkout@<select the latest stable>
    # optionally
    with:
      token: ${{ secrets.GITHUB_TOKEN }}
      # or any other valid secret, of course

About

An action configuring actions/checkout to checkout the whole repository, including submodules and tags.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors