If a push event from github would trigger an auto_deployment, but an
AutoDeployment already exists, log a message and return without creating
a duplicate AutoDeployment.
The AutoDeployment model is guarded by a foreign key constraint on the
sha+ environment fields so this bug fix simply prevents an exception from firing
and provides a more useful log message.
If a push event from github would trigger an
auto_deployment
, but anAutoDeployment
already exists, log a message and return without creating a duplicateAutoDeployment
.The
AutoDeployment
model is guarded by a foreign key constraint on thesha
+environment
fields so this bug fix simply prevents an exception from firing and provides a more useful log message.fixes #87