Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/snow-actions/sparse-checkout
- Owner: snow-actions
- License: mit
- Created: 2021-06-29T05:22:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T19:04:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T10:47:56.014Z (about 2 months ago)
- Topics: actions, git
- Homepage:
- Size: 46.9 KB
- Stars: 15
- Watchers: 2
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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-*`