Skip to content

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

License

Notifications You must be signed in to change notification settings

DanySK/action-checkout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

237ae9e · Feb 14, 2025

History

85 Commits
Oct 23, 2024
Mar 16, 2023
Sep 26, 2022
Dec 17, 2021
Sep 2, 2021
Dec 17, 2021
Oct 23, 2024
Feb 14, 2025
Feb 14, 2025
Dec 22, 2021
Oct 14, 2021

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

License

Stars

Watchers

Forks

Packages

No packages published