Skip to content

Commit

Permalink
Added check for keywords in ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rkavitha-hcl committed Jun 3, 2024
1 parent f108bac commit 7f865c9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,17 @@ jobs:
https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-${ARCH}
sudo chmod +x /usr/local/bin/bazel
- name: Keyword check
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"
exit 1
else
echo "Keyword check Passed."
fi

# Authentication is enabled for R/W access for builds on main and branch PRs
# Unauthenticated reads are allowed for PRs from forks
- name: Build and Test
Expand Down

0 comments on commit 7f865c9

Please sign in to comment.