File tree 3 files changed +29
-26
lines changed
3 files changed +29
-26
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ configuration:
12
12
frequencies :
13
13
- weekday :
14
14
day : Monday
15
- time : 0:0
15
+ time : 23:00
16
16
- weekday :
17
17
day : Tuesday
18
- time : 0:0
18
+ time : 23:00
19
19
- weekday :
20
20
day : Wednesday
21
- time : 0:0
21
+ time : 23:00
22
22
- weekday :
23
23
day : Thursday
24
- time : 0:0
24
+ time : 23:00
25
25
- weekday :
26
26
day : Friday
27
- time : 0:0
27
+ time : 23:00
28
28
filters :
29
29
- isIssue
30
30
- isOpen
@@ -48,19 +48,19 @@ configuration:
48
48
frequencies :
49
49
- weekday :
50
50
day : Monday
51
- time : 0:0
51
+ time : 23:00
52
52
- weekday :
53
53
day : Tuesday
54
- time : 0:0
54
+ time : 23:00
55
55
- weekday :
56
56
day : Wednesday
57
- time : 0:0
57
+ time : 23:00
58
58
- weekday :
59
59
day : Thursday
60
- time : 0:0
60
+ time : 23:00
61
61
- weekday :
62
62
day : Friday
63
- time : 0:0
63
+ time : 23:00
64
64
filters :
65
65
- isOpen
66
66
- isIssue
@@ -83,19 +83,19 @@ configuration:
83
83
frequencies :
84
84
- weekday :
85
85
day : Monday
86
- time : 0:0
86
+ time : 23:00
87
87
- weekday :
88
88
day : Tuesday
89
- time : 0:0
89
+ time : 23:00
90
90
- weekday :
91
91
day : Wednesday
92
- time : 0:0
92
+ time : 23:00
93
93
- weekday :
94
94
day : Thursday
95
- time : 0:0
95
+ time : 23:00
96
96
- weekday :
97
97
day : Friday
98
- time : 0:0
98
+ time : 23:00
99
99
filters :
100
100
- isIssue
101
101
- isOpen
@@ -117,19 +117,19 @@ configuration:
117
117
frequencies :
118
118
- weekday :
119
119
day : Monday
120
- time : 0:0
120
+ time : 23:00
121
121
- weekday :
122
122
day : Tuesday
123
- time : 0:0
123
+ time : 23:00
124
124
- weekday :
125
125
day : Wednesday
126
- time : 0:0
126
+ time : 23:00
127
127
- weekday :
128
128
day : Thursday
129
- time : 0:0
129
+ time : 23:00
130
130
- weekday :
131
131
day : Friday
132
- time : 0:0
132
+ time : 23:00
133
133
filters :
134
134
- isIssue
135
135
- isOpen
@@ -150,7 +150,7 @@ configuration:
150
150
- description : " [Close Issue Management] For issue with close-wait label"
151
151
frequencies :
152
152
- daily :
153
- time : 1 :0
153
+ time : 0 :0
154
154
filters :
155
155
- isOpen
156
156
- isIssue
Original file line number Diff line number Diff line change @@ -60,7 +60,9 @@ async function main() {
60
60
console . log ( `Sending email to ${ email } for issue ${ JSON . stringify ( issues ) } ` ) ;
61
61
const body = `
62
62
<p>Hi, here are GitHub issues that needs your attention:</p>
63
- ${ issues . map ( ( issue ) => `<p><a href="${ issue . url } ">#${ issue . number } </a>: ${ issue . title } (${ issue . url } )</p>` ) }
63
+ ${ issues . map ( ( issue ) => `<p><a href="${ issue . url } ">#${ issue . number } </a>: ${ issue . title } (${ issue . url } )</p>
64
+ <hr />
65
+ <p>* Remove the "needs attention" label or close the issue in order not to receive this notification.</p>` ) }
64
66
` ;
65
67
await sendEmail (
66
68
email ,
Original file line number Diff line number Diff line change 15
15
- name : Check issues that needs attention
16
16
run : node .github/scripts/notify-issues.js
17
17
env :
18
- REPO_MAINTAINERS : ${{ env.REPO_MAINTAINERS }}
19
- WORKFLOW_MAINTAINER_EMAIL : ${{ env.SCHEDULED_NOTIFICATION_MAINTAINER_EMAIL }}
20
- MAIL_CLIENT_ID : ${{ secrets.EMAIL_CLIENT_ID }}
18
+ REPO_MAINTAINERS : ${{ vars.REPO_MAINTAINERS }}
19
+ WORKFLOW_MAINTAINER_EMAIL : ${{ vars.SCHEDULED_NOTIFICATION_MAINTAINER_EMAIL }}
20
+ MAIL_TENANT_ID : ${{ vars.EMAIL_TENANT_ID }}
21
+ MAIL_CLIENT_ID : ${{ vars.EMAIL_CLIENT_ID }}
21
22
MAIL_CLIENT_SECRET : ${{ secrets.EMAIL_CLIENT_SECRET }}
22
- MAIL_TENANT_ID : ${{ secrets.EMAIL_TENANT_ID }}
23
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments