Skip to content

Commit

Permalink
Merge pull request #19005 from Charan-Sharan/HPCC-32003-hyperlinks-im…
Browse files Browse the repository at this point in the history
…pl-master

HPCC-32450 Add escape character to dot(.) in the grep expression.

Reviewed-By: Attila Vamos <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Sep 13, 2024
2 parents 961512d + 30516b1 commit bd13ae1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test-hyperlinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,9 @@ In case of workflow_call, the event type of called workflow shares the same even
done
elif [[ "${EVENT_TYPE}" == "pull_request" ]]; then
git diff --name-only HEAD^1 HEAD > updatedFiles.txt
cat updatedFiles.txt | grep -E "*.xml" | tee xmlFilesList.txt
cat updatedFiles.txt | grep -E "*.md" | tee mdFilesList.txt
cat updatedFiles.txt | grep -E "*.rst" | tee rstFilesList.txt
cat updatedFiles.txt | grep -E "*\.xml" | tee xmlFilesList.txt
cat updatedFiles.txt | grep -E "*\.md" | tee mdFilesList.txt
cat updatedFiles.txt | grep -E "*\.rst" | tee rstFilesList.txt
fi
```

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-hyperlinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ jobs:
done
elif [[ "${EVENT_TYPE}" == "pull_request" ]]; then
git diff --name-only HEAD^1 HEAD > updatedFiles.txt
cat updatedFiles.txt | grep -E "*.xml" | tee xmlFilesList.txt
cat updatedFiles.txt | grep -E "*.md" | tee mdFilesList.txt
cat updatedFiles.txt | grep -E "*.rst" | tee rstFilesList.txt
cat updatedFiles.txt | grep -E "*\.xml" | tee xmlFilesList.txt
cat updatedFiles.txt | grep -E "*\.md" | tee mdFilesList.txt
cat updatedFiles.txt | grep -E "*\.rst" | tee rstFilesList.txt
fi
- name: List links from Documentation files
Expand Down

0 comments on commit bd13ae1

Please sign in to comment.