From 381c5d6a72e0386029815e42ab0941ec92286373 Mon Sep 17 00:00:00 2001
From: Jose Raul Barreras <barreras@unl.edu>
Date: Fri, 31 May 2019 12:11:19 -0500
Subject: [PATCH] add allow_failure to the Detect Secrets example

---
 README.md                  | 2 +-
 examples/Detect-Secrets.md | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index ea5b735..0b470a5 100644
--- a/README.md
+++ b/README.md
@@ -27,4 +27,4 @@ This file is automatically updated after execute `git commit` based on the conte
  - its-registry.unl.edu/unl-its/docker-ci/static-code-analysis:python 
     
 
-
_Last update: Thu May 30 18:00:40 CDT 2019_
+
_Last update: Fri May 31 12:11:19 CDT 2019_
diff --git a/examples/Detect-Secrets.md b/examples/Detect-Secrets.md
index cfc1e5e..49ba574 100644
--- a/examples/Detect-Secrets.md
+++ b/examples/Detect-Secrets.md
@@ -10,7 +10,9 @@
 
 ## Detects secrets in the current project
 
-- One 'analysis' stage with one job
+- One 'analysis' stage with one job  
+- Allows the job to fail without impacting the rest of the CI (allow_failure: true)
+
 
 ``` yml
 stages:
@@ -21,6 +23,7 @@ variables:
     - docker
   script:
     - docker run --rm -v "${PWD}:/work" -w /work its-registry.unl.edu/unl-its/docker-ci/detect-secrets -s -e 4.5
+  allow_failure: true
 ``` 
 
 # Inline Allowlisting
-- 
GitLab