better build checks for auto-select actions
Merge pull request #4097 from dimagi/build-checks

better build checks for auto-select actions