Skip to content

Conversation

charles-zablit
Copy link
Contributor

  • Explanation:
    This patch adds a check for locked repositories before attempting to update repositories in update-checkout. Without it, errors can get lost in the verbosity of the script.

  • Scope:
    This patch fixes an issue in update-checkout. It does not have an impact on CI, since a locked repository in CI would mean the CI would fail anyway.

  • Issues:

  • Original PRs:

  • Risk:
    Low, this changes the behavior of update-checkout.

  • Testing:
    Tested at desk using the unit tests and with a fake .lock file.

  • Reviewers:

@charles-zablit charles-zablit self-assigned this Sep 8, 2025
@charles-zablit charles-zablit requested a review from a team as a code owner September 8, 2025 16:28
@charles-zablit charles-zablit added the update-checkout Area → utils: the `update-checkout` script label Sep 8, 2025
@charles-zablit
Copy link
Contributor Author

@swift-ci please test

@charles-zablit charles-zablit changed the title [update-checkout] add a check for locked repositories 🍒 [update-checkout] add a check for locked repositories Sep 8, 2025
@charles-zablit
Copy link
Contributor Author

@swift-ci please test macOS

@adrian-prantl adrian-prantl merged commit 35c6b99 into swiftlang:release/6.2 Sep 9, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update-checkout Area → utils: the `update-checkout` script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants