1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-03-28 11:00:05 +01:00

Check Git Operations availability before checking out example

This commit is contained in:
CrazyMax 2020-05-24 01:40:34 +02:00
parent 2ff2fbdea4
commit 9ad0123bf8
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -230,6 +230,16 @@ jobs:
git fetch --prune --unshallow --tags
```
## Check Git Operations availability before checking out
```yaml
- uses: crazy-max/ghaction-github-status@v1
with:
git_threshold: major_outage
- uses: actions/checkout@v2
if: success()
```
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)