Skip to content

Commit 0975518

Browse files
committed
fix
1 parent 568d660 commit 0975518

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/auto-assign-reviewers.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
"https://api.github.com/repos/${{ github.repository }}/issues/${{ steps.extract-pr.outputs.PR_NUMBER }}/comments" | \
5151
jq -r '.[] | select(.user.login == "github-actions[bot]") | {body: .body} | @base64')
5252
53+
echo "=== Changed Files ==="
54+
cat changed_files.txt
55+
echo "====================="
56+
5357
comment_body=""
5458
if [[ ! -z "$existing_comment" ]]; then
5559
comment_body=$(echo "$existing_comment" | head -1 | base64 -d | jq -r .body|sed -nE 's/.*Last Updated: ([0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2} UTC).*/\1/p')
@@ -64,9 +68,6 @@ jobs:
6468
fi
6569
echo "COMMENT_TIME=${comment_time}"
6670
67-
echo "=== Changed Files ==="
68-
cat changed_files.txt
69-
echo "====================="
7071
7172
- name: Parse MAINTAINERS file
7273
id: parse_maintainer
@@ -123,12 +124,12 @@ jobs:
123124
echo "$tag" >> triggered_tags.txt
124125
echo "Matched: $path → $tag"
125126
fi
126-
done < tag_data.csv
127+
done < tag_data.csv
127128
128-
echo "=== Matched Paths ==="
129-
cat triggered_tags.txt
130-
echo "=== Matched Reviewers ==="
131-
cat triggered_reviewers.txt
129+
echo "=== Matched Paths ==="
130+
cat triggered_tags.txt
131+
echo "=== Matched Reviewers ==="
132+
cat triggered_reviewers.txt
132133
133134
- name: Restore Reviewers Cache
134135
id: reviewers-cache-restore

0 commit comments

Comments
 (0)