From ddf9bb8450d97d8fc5087525bbcf8b789f53f908 Mon Sep 17 00:00:00 2001 From: rkavitha-hcl Date: Mon, 3 Jun 2024 08:28:20 -0700 Subject: [PATCH] Add check for keyword --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..fcd7b42 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: "build" +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] +jobs: + build: + name: Bazel Build and Test + run: | + grep -r 'butter\|financial\|exchange\|stock\|market\|trading\|GCPTP\|CME\|bubble\|coarse-grained equalization\|CGE\|coarse' * + if [ $? -eq 0 ] + then + echo "Keyword Check Failed. Pl. check and fix it" + else + echo "Keyword check Passed." + fi