Skip to content

Sparse checkout action

Actions
Sparse checkout a git repository
v1.2.0
Latest
Star (15)

Sparse checkout

Sparse checkout a git repository like actions/checkout.

Usage

name: 'Checkout mono repository'
on:
  push:

jobs:
  checkout:
    runs-on: ubuntu-20.04
    steps:
      - uses: snow-actions/[email protected]
        with:
          patterns: |
            .github

Inputs

See action.yml.

name required description default value
patterns required Write a set of patterns to the sparse-checkout file. -
repository optional Same as actions/checkout ${{ github.repository }}
ref optional Same as actions/checkout ''
token optional Same as actions/checkout ${{ github.token }}
path optional Same as actions/checkout '.'
filter optional filter-spec to omit objects/blobs when fetching ''

Supported

Events

  • Any

Runners

Test

  • ubuntu-*
  • windows-*
  • macos-*

Sparse checkout action 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

Sparse checkout a git repository
v1.2.0
Latest

Sparse checkout action 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.