We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84374a5 commit ffe0e69Copy full SHA for ffe0e69
.github/workflows/pr-dockerfile-path-scan.yaml
@@ -181,7 +181,7 @@ jobs:
181
if [ -n "$changed_files" ]; then
182
for changed_file in $changed_files; do
183
echo $changed_file
184
- url_lines=$(grep -H -Eo '\]\(http[s]?://[^)]+\)' "$changed_file" | grep -Ev 'GenAIComps/blob/main')
+ url_lines=$(grep -H -Eo '\]\(http[s]?://[^)]+\)' "$changed_file" | grep -Ev 'GenAIComps/blob/main') || true
185
if [ -n "$url_lines" ]; then
186
for url_line in $url_lines; do
187
url=$(echo "$url_line"|cut -d '(' -f2 | cut -d ')' -f1|sed 's/\.git$//')
0 commit comments