Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/snow-actions/sparse-checkout

Sparse checkout a git repository.
https://github.com/snow-actions/sparse-checkout

actions git

Last synced: about 1 month ago
JSON representation

Sparse checkout a git repository.

Awesome Lists containing this project

README

        

# Sparse checkout

Sparse checkout a git repository like [actions/checkout](https://github.com/actions/checkout).

## Usage

```yml
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](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](https://github.com/snow-actions/sparse-checkout/actions/workflows/test.yml/badge.svg)](https://github.com/snow-actions/sparse-checkout/actions/workflows/test.yml)

* `ubuntu-*`
* `windows-*`
* `macos-*`