File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 16
16
uses : tsickert/discord-webhook@v6.0.0
17
17
with :
18
18
webhook-url : ${{ secrets.DISCORD_WEBHOOK_URL_UTLC }}
19
- embed-author-name : ${{ github.event.pull_request.user .login }}
20
- embed-author-url : ${{ github.event.pull_request.user .html_url }}
21
- embed-author-icon-url : ${{ github.event.pull_request.user .avatar_url }}
22
- embed-title : ' # ${{ github.event.number }} (+${{ github.event.pull_request.additions }} - ${{github.event.pull_request.deletions}}) : ${{ github.event.pull_request.title }}'
19
+ embed-author-name : ${{ github.event.sender .login }}
20
+ embed-author-url : ${{ github.event.sender .html_url }}
21
+ embed-author-icon-url : ${{ github.event.sender .avatar_url }}
22
+ embed-title : " ${{ github.event.action == 'closed' && github.event.pull_request.merged == true && 'merged' || github.event.action }} # ${{ github.event.number }} : ${{ github.event.pull_request.title }}"
23
23
embed-description : ${{ github.event.pull_request.body }}
24
24
embed-url : ${{ github.event.pull_request.html_url }}
25
+ embed-footer-text : >
26
+ diff: +${{github.event.pull_request.additions}} -${{github.event.pull_request.deletions}}
You can’t perform that action at this time.
0 commit comments