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 9e85b35 commit 2bbee5dCopy full SHA for 2bbee5d
.github/workflows/pr-dockerfile-path-scan.yaml
@@ -178,7 +178,7 @@ jobs:
178
fail="FALSE"
179
merged_commit=$(git log -1 --format='%H')
180
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
+ 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')
0 commit comments