Check if composer.lock file exist in composer-lint job
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3453001. -->
Reported by: [fjgarlin](https://www.drupal.org/user/2495842)
Related to !218
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>In some special customised setups, the <code>composer.lock</code> file may not be present in the "modules/custom/..." folder, so the "composer-lint" job fails.</p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p><a href="https://git.drupalcode.org/issue/automatic_updates-3452870/-/jobs/1795280">https://git.drupalcode.org/issue/automatic_updates-3452870/-/jobs/1795280</a></p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Check if the file exist before renaming it.</p>
issue