From 9ad0123bf82cdebd19946a65b6967bd8debc16b3 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 24 May 2020 01:40:34 +0200 Subject: [PATCH] Check Git Operations availability before checking out example --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 745ee8a..53e3fd5 100644 --- a/README.md +++ b/README.md @@ -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)