我知道如果event_type是issue_comment,你可以像下面这样做。
on:
issue_comment:
types: [created, edited]
# then, both works
- run: echo ${{ github.event.comment.body }}
- run: echo ${{ github.event.changes.body.from }}然而,当event_type是问题:关闭时,我很喜欢获得body。
发布于 2021-04-27 13:35:26
on:
issues:
types: [closed]
- run: echo ${{ github.event.issue.body }}发布于 2021-04-27 13:26:14
${{ github.event.issue.title }}
${{ github.event.issue.body }}这个问题解决了。
https://stackoverflow.com/questions/67277159
复制相似问题