Skip to content
This repository has been archived by the owner on Mar 26, 2022. It is now read-only.

Add PR comment when commits are _from the future_ #7

Open
mspiegel opened this issue Nov 27, 2017 · 0 comments
Open

Add PR comment when commits are _from the future_ #7

mspiegel opened this issue Nov 27, 2017 · 0 comments

Comments

@mspiegel
Copy link
Contributor

The default behavior of checks-out is to only accept approvals that occur at a later time than the HEAD commit on the compare branch. The commits are timestamped by the local clock at the time of commit, not a clock on the GitHub server. If the local clock is significantly into the future then checks-out will ignore all approvals. We can detect this condition and report it as a comment on the pull request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant