【问题标题】:Event for PR update in Github ActionsGithub Actions 中的 PR 更新事件
【发布时间】:2020-03-09 13:26:37
【问题描述】:

我在 Github 操作中向 PR 添加新提交会触发哪个事件?我已经尝试过creatededited 事件。这是我的操作文件中的一个 sn-p

on:
  pull_request:
    branches:
      - develop
    types:
      - opened
      - edited
  pull_request_review:
    branches:
      - develop
    types:
      - edited

【问题讨论】:

    标签: github github-actions


    【解决方案1】:

    试试synchronized event

    虽然“事件 API 时间线不包括带有同步操作的拉取请求事件”是真的,但它仍然与 PR GitHub Actions 一起使用。

    例如:seferov/pr-lint-action

    【讨论】:

      猜你喜欢
      • 2022-01-22
      • 2022-01-02
      • 2020-12-13
      • 2021-06-19
      • 2020-06-27
      • 2022-07-27
      • 2022-01-05
      • 2021-04-04
      • 2021-05-25
      相关资源
      最近更新 更多