Upgrade actions/checkout to resolve compatibility issue with checkout@v6 #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR upgrades the internal usage of
actions/checkout(from v3) to resolve a critical compatibility issue when users useactions/checkout@v6in their parent workflow.The Issue
If a user utilizes
actions/checkout@v6in their workflow, they may encounter the following error when this action runs:This is caused by a conflict in how Git credentials are persisted between different versions of actions/checkout:
includeIf, instead of modifying.git/configdirectly..git/config.Fix
Upgrading the internal action dependency aligns the credential management mechanism and prevents the "Double Auth" conflict. I have verified this fix in a forked version.