Revert "Remove check for user  before running build actions."

This reverts commit 2a0d0960e2aee907ddea1b5354cea1532b13438d.