Which Git version of config.yml on build is used?


When a CircleCI build runs, does the build use the config.yml from the commit it checks out from Git?

CircleCI in most cases will pull the config.yml directly from the remote git repository. When re-running a job, CircleCI can pull that config.yml from a cached version instead. But in general, you should be able to safely assume this would be config.yml at the point of the commit sha1 of the workflow.

Are you potentially seeing an issue where the wrong config.yml is being used?


I am not experiencing any issues. I was just looking for confirmation that it uses the config.yml at that point of the commit sha1 of the workflow.

Thank you Mike!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.