Rename has_environment to has_environment_keyword
What does this MR do and why?
Ci::Build#has_environment?
is quite confusing that it returns true
even if the associated environment has been deleted. Hence we rename the method to has_environment_keyword
that indicates that build has the environment
keyword definition.
Related #375075 (comment 1128753021) !103196 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Shinya Maeda