File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : get security issue by title and body
2+
3+ on :
4+ issues :
5+ types : [opened]
6+
7+ jobs :
8+ alert :
9+ runs-on : ubuntu-latest
10+ name : get security issue by title and body
11+ steps :
12+ - name : filter issue by keyword and send email
13+ id : script
14+ uses : ElyssaJyu/GH-Auto-Digest-Bot@main
15+ with :
16+ email_password : ${{ secrets.EMAIL_PASSWORD }}
17+ email_username : ' autodigectbot@outlook.com'
18+ - name : need send to teams
19+ if : ${{ steps.script.outputs.need_attention == 'true'}}
20+ uses : plantree/github-actions-issue-notify-teams@main
21+ with :
22+ type : new-issue
23+ message : ${{ steps.script.outputs.issue_info}}
24+ webhook : ${{ secrets.WEBHOOK }}
25+ - name : do not need send
26+ if : ${{ steps.script.outputs.need_attention == 'false'}}
27+ run : echo '${{ github.event.issue.html_url }}'
You can’t perform that action at this time.
0 commit comments