How to un-approve github review after new commits automatically

后端 未结 2 1145
鱼传尺愫
鱼传尺愫 2020-12-30 20:14

Once a pull request is approved, if there are further commits:

The Pull request should go to un-approved state automatically.

Can this be d

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-30 20:31

    This isn't currently offered.

    You can create an application that listens for push webhook events, queries the API for all Reviews for a Pull Request, and dismisses any that are APPROVED.

    Here is a Ruby script you could host on heroku.

提交回复
热议问题