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

View File

@@ -230,6 +230,16 @@ jobs:
git fetch --prune --unshallow --tags 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 # License
The scripts and documentation in this project are released under the [MIT License](LICENSE) The scripts and documentation in this project are released under the [MIT License](LICENSE)