[英]Event for PR update in Github Actions
Which event is triggered with I add new commits to a PR in Github actions?我在 Github 操作中向 PR 添加新提交会触发哪个事件? I have already tried the
created
and edited
events.我已经尝试过
created
和edited
事件。 Here's a snippet from my actions file这是我的操作文件中的一个片段
on:
pull_request:
branches:
- develop
types:
- opened
- edited
pull_request_review:
branches:
- develop
types:
- edited
Try the synchronized
event .尝试
synchronized
事件。
While it is true that "Events API timelines don't include pull request events with the synchronize action.", it is still used with PR GitHub Actions .虽然“事件 API 时间线不包括同步操作的拉取请求事件”是真的,但它仍然与PR GitHub Actions 一起使用。
For instance: seferov/pr-lint-action
.例如:
seferov/pr-lint-action
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.