Skip to content

Commit ffe0e69

Browse files
ZePan110hteeyeoh
andauthored
Fix the issue of exiting due to inability to find hyperlinks. (opea-project#781)
Signed-off-by: ZePan110 <ze.pan@intel.com> Co-authored-by: Hoong Tee, Yeoh <hoong.tee.yeoh@intel.com>
1 parent 84374a5 commit ffe0e69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-dockerfile-path-scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
if [ -n "$changed_files" ]; then
182182
for changed_file in $changed_files; do
183183
echo $changed_file
184-
url_lines=$(grep -H -Eo '\]\(http[s]?://[^)]+\)' "$changed_file" | grep -Ev 'GenAIComps/blob/main')
184+
url_lines=$(grep -H -Eo '\]\(http[s]?://[^)]+\)' "$changed_file" | grep -Ev 'GenAIComps/blob/main') || true
185185
if [ -n "$url_lines" ]; then
186186
for url_line in $url_lines; do
187187
url=$(echo "$url_line"|cut -d '(' -f2 | cut -d ')' -f1|sed 's/\.git$//')

0 commit comments

Comments
 (0)