File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 steps :
1313 - uses : shangminx/Auto-Digest@main
1414 id : getsummary
15- - uses : shangminx/Auto-Digest/sendEmail@main
16- id : sendEmail
17- with :
18- email_password : ${{ secrets.EMAIL_PASSWORD }}
19- sender_email : ${{secrets.SENDER_EMAIL}}
20- recipient_email : ${{secrets.RECIPIENT_EMAIL}}
21- report_data : ${{ steps.getsummary.outputs.dailysummary }}
15+ with :
16+ daily_or_weekly : ' daily'
2217 - uses : plantree/github-actions-issue-notify-teams@main
2318 with :
2419 type : daily-report
Original file line number Diff line number Diff line change 1+ name : get issue summary of last week
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 0 1 * * 1'
7+
8+ jobs :
9+ alert :
10+ runs-on : ubuntu-latest
11+ name : get summary
12+ steps :
13+ - uses : shangminx/Auto-Digest@main
14+ id : getsummary
15+ with :
16+ daily_or_weekly : ' weekly'
17+ - uses : shangminx/Auto-Digest/sendEmail@main
18+ id : sendEmail
19+ with :
20+ email_password : ${{ secrets.EMAIL_PASSWORD }}
21+ sender_email : ${{secrets.SENDER_EMAIL}}
22+ recipient_email : ${{secrets.RECIPIENT_EMAIL}}
23+ report_data : ${{ steps.getsummary.outputs.dailysummary }}
24+ - uses : plantree/github-actions-issue-notify-teams@main
25+ with :
26+ type : weekly-report
27+ message : ${{ steps.getsummary.outputs.dailysummary }}
28+ webhook : ${{ secrets.WEBHOOK }}
You can’t perform that action at this time.
0 commit comments