Skip to content

Commit 1da44d9

Browse files
authored
Remove debug outputs (#1085)
Signed-off-by: ZePan110 <[email protected]>
1 parent e9b1645 commit 1da44d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-path-detection.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ jobs:
6161
changed_files="$(git diff --name-status --diff-filter=ARM ${{ github.event.pull_request.base.sha }} ${merged_commit} | awk '/\.md$/ {print $NF}')"
6262
if [ -n "$changed_files" ]; then
6363
for changed_file in $changed_files; do
64-
echo $changed_file
64+
# echo $changed_file
6565
url_lines=$(grep -H -Eo '\]\(http[s]?://[^)]+\)' "$changed_file" | grep -Ev 'GenAIExamples/blob/main') || true
6666
if [ -n "$url_lines" ]; then
6767
for url_line in $url_lines; do
68-
echo $url_line
68+
# echo $url_line
6969
url=$(echo "$url_line"|cut -d '(' -f2 | cut -d ')' -f1|sed 's/\.git$//')
7070
path=$(echo "$url_line"|cut -d':' -f1 | cut -d'/' -f2-)
7171
response=$(curl -L -s -o /dev/null -w "%{http_code}" "$url")

0 commit comments

Comments
 (0)