-
Notifications
You must be signed in to change notification settings - Fork 154
58 lines (58 loc) · 1.47 KB
/
add-reaction.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Add reaction
on:
issue_comment:
types: [created]
jobs:
reaction:
runs-on: ubuntu-latest
if: |
contains(fromJson('
[
"tc2000731",
"will-ww",
"zhouchenyi2000",
"xwyzsn",
"Yukiho1028",
"DarkHighness",
"abcdabcd3899",
"zzyzeyuan",
"heroding77",
"wj23027",
"lhbvvvvv",
"GiveMeAnApple99",
"Goinggoinggoing",
"yfsn666",
"qqliang",
"RTEnzyme",
"JinkaiXu",
"tennnx",
"momentNi",
"wengsy150943",
"xiaofeichong123",
"Zzzzzhuzhiwei",
"JinaoLiu",
"yz2022",
"Freejww",
"nicole01101101zke",
"yygs-yyss",
"Liuyushiii",
"Tamiflu233",
"wujwyi",
"LinRS1999",
"qkgoalkeeper",
"Ashura5",
"lroethan",
"pourquoi-1130",
"hzhang4433",
"hsy77",
"hyDududu",
]'), github.event.sender.login)
steps:
- name: Add reaction
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.TIEWAY59_PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/${{ github.repository }}/issues/comments/${{ github.event.comment.id }}/reactions \
-d '{"content": "eyes"}'