From 71f3728648c2c80fc86338a1847ce6bab537f94b Mon Sep 17 00:00:00 2001
From: Stephan <stephane.gay@hazelcast.com>
Date: Thu, 9 Dec 2021 08:53:14 +0100
Subject: [PATCH] wkf exp

---
 .github/workflows/rest-description.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/rest-description.yml b/.github/workflows/rest-description.yml
index 8967abd..57a754b 100644
--- a/.github/workflows/rest-description.yml
+++ b/.github/workflows/rest-description.yml
@@ -7,8 +7,8 @@ jobs:
     toy-desc:
         runs-on: ubuntu-latest
         if: |
-            !github.event.issue.title.contains('!exclude!') ||
-            github.event.issue.title.contains('!force!')
+            !contains(github.event.issue.title, '!exclude!') ||
+            contains(github.event.issue.title, '!force!')
         steps:
         - name: Toy with issue description
           uses: actions/github-script@v4.0.2