If you refer to a new package in your code, an error will occur at the 01-pull-request-validation step when merging into the main branch.
This is because the pip package is not installed in the custom docker image being reused.
Solution
Whenever code is merged into the main branch, it checks if there are any changes in 'non-python-preprocess/devops_pipelines/build_agent/ci_dependencies.yml'.
If there are any changes, install the packages newly using the updated ci_dependencies.yml file in the new conda environment and proceed with the rest of the process.
Problem statement
If you refer to a new package in your code, an error will occur at the 01-pull-request-validation step when merging into the main branch. This is because the pip package is not installed in the custom docker image being reused.
Solution
Whenever code is merged into the main branch, it checks if there are any changes in 'non-python-preprocess/devops_pipelines/build_agent/ci_dependencies.yml'. If there are any changes, install the packages newly using the updated ci_dependencies.yml file in the new conda environment and proceed with the rest of the process.