CEQA applies to discretionary projects. A discretionary project is one that requires an agency to exercise judgment in approving or disapproving it. CEQA applies to the whole of the action when any part of a project is discretionary.