Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Implement an automated test to detect merge commits #47

Open
mbestavros opened this issue Nov 11, 2019 · 0 comments
Open

Implement an automated test to detect merge commits #47

mbestavros opened this issue Nov 11, 2019 · 0 comments
Assignees

Comments

@mbestavros
Copy link
Contributor

Enarx projects should not contain merge commits, and we'd like to test incoming pull requests to ensure they do not contain any.

The best way to go about this is probably to detect whether individual commits have multiple parents. There is no simple one-line way to do this, so we'll need to implement it from scratch (probably by iterating through PR commits and analyzing them).

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

Successfully merging a pull request may close this issue.

1 participant