File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,18 @@ jobs:
12
12
id : set-reviewers
13
13
run : |
14
14
REPO_NAME="${{ github.repository }}"
15
- if [[ $REPO_NAME == */ dev-fe ]]; then
15
+ if [[ $REPO_NAME == *" dev-fe"* ]]; then
16
16
echo "team=FE" >> $GITHUB_OUTPUT
17
17
echo "reviewers=<@U07GSBHPCPR> <@U07H6QLFPBM> <@U07H9CTPC9J>" >> $GITHUB_OUTPUT
18
- elif [[ $REPO_NAME == */dev-be ]]; then
18
+ echo "reviewer_names=김지수, 고민지, 홍창현" >> $GITHUB_OUTPUT
19
+ elif [[ $REPO_NAME == *"dev-be"* ]]; then
19
20
echo "team=BE" >> $GITHUB_OUTPUT
20
21
echo "reviewers=<@U07GSBPT9ST> <@U07H0978N14>" >> $GITHUB_OUTPUT
22
+ echo "reviewer_names=김영길, 김준서" >> $GITHUB_OUTPUT
23
+ else
24
+ echo "team=Team" >> $GITHUB_OUTPUT
25
+ echo "reviewers=@here" >> $GITHUB_OUTPUT
26
+ echo "reviewer_names=전체" >> $GITHUB_OUTPUT
21
27
fi
22
28
23
29
- name : Send Slack notification
67
73
"type": "mrkdwn",
68
74
"text": "👉 ${{ steps.set-reviewers.outputs.reviewers }} 리뷰 부탁드립니다!"
69
75
}
76
+ },
77
+ {
78
+ "type": "context",
79
+ "elements": [
80
+ {
81
+ "type": "mrkdwn",
82
+ "text": "✨ 리뷰어: ${{ steps.set-reviewers.outputs.reviewer_names }}"
83
+ }
84
+ ]
70
85
}
71
86
]
72
87
}
You can’t perform that action at this time.
0 commit comments