add preflight check for allowed projects to the publishing pipeline
Do not trigger the Jenkins job if the current project is not allowed to publish documents. Note this is just a preflight check, the authoritative validation is still performed on the Jenkins side
Bug: T367047