Skip to content

Commit 2bbee5d

Browse files
authored
missing dollar sign in check script for hyperlinks? (#780)
Signed-off-by: Chun Tao <[email protected]>
1 parent 9e85b35 commit 2bbee5d

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
@@ -178,7 +178,7 @@ jobs:
178178
fail="FALSE"
179179
merged_commit=$(git log -1 --format='%H')
180180
changed_files="$(git diff --name-status --diff-filter=ARM ${{ github.event.pull_request.base.sha }} ${merged_commit} | awk '/\.md$/ {print $NF}')"
181-
if [ -n "changed_files" ]; then
181+
if [ -n "$changed_files" ]; then
182182
for changed_file in $changed_files; do
183183
echo $changed_file
184184
url_lines=$(grep -H -Eo '\]\(http[s]?://[^)]+\)' "$changed_file" | grep -Ev 'GenAIComps/blob/main')

0 commit comments

Comments
 (0)