Skip to content

Commit 309d367

Browse files
Make grep quiet to not repeat found files
Signed-off-by: Marcus Burghardt <maburgha@redhat.com>
1 parent b1ff09e commit 309d367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci_lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
echo "$response" | jq -r '.[].filename' > filenames.txt
3030
cat filenames.txt
3131
32-
if grep "controls/" filenames.txt; then
32+
if grep -q "controls/" filenames.txt; then
3333
echo "CONTROLS_CHANGES=true" >> $GITHUB_ENV
3434
else
3535
echo "CONTROLS_CHANGES=false" >> $GITHUB_ENV
3636
fi
37-
if grep "\.profile" filenames.txt; then
37+
if grep -q "\.profile" filenames.txt; then
3838
echo "PROFILES_CHANGES=true" >> $GITHUB_ENV
3939
else
4040
echo "PROFILES_CHANGES=false" >> $GITHUB_ENV

0 commit comments

Comments
 (0)