ssube/isolex

approve issues once

ssube opened this issue · 0 comments

ssube commented

Summary

The bot is approving PRs for each check or status.

Steps to Reproduce

  • open a PR
  • run a successful status/check
  • github fires a run_check/status event
  • the bot does some stuff to resolve the project, commit, and PR# (but doesn't check whether the PR has been approved)
  • the bot approves the PR
  • another check happens, repeat

Actual Behavior

image

Expected Behavior

A single approval per PR, unless invalidated by new changes.

Details

Filter potential PRs to approve by whether they are currently approved.