-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ISSUE]: unsupported extension name extensions.worktreeconfig #1115
Comments
Same issue here - I had an actions workflow that worked fine today (22/04/2024) at 15:11 (GMT + 1), and then started failing with the same error - "unsupported extension name extensions.worktreeconfig" at 15:28 for no obvious reason. The original error came from a custom workflow we've written that calls the dotnet-gitversion tool v5.10.3 (and not changed recently), but I can reproduce it with the latest version (v5.12.0) and with the gittools actions in a vanilla config:
The result is:
(full "debug" logs available if it's useful, but I can't anonymise them right now) |
Update: If I ssh onto my self-hosted ubuntu 22.04 github runner and run the dotnet-gitversion command manually I get the same issue:
|
Temporary workaround is placing this between the
EDIT: added |
@pascalgulikers - just found the same workaround :-). I put it straight after the |
Temporary fix to get the docs CI to run again from GitTools/actions#1115. Also see jelmer/dulwich#1285.
This works too, if you don't want to disable error checking in the entire step:
|
This should be fixed in https://github.com/actions/checkout/releases/tag/v4.1.4 |
Prerequisites
GitVersion package
GitHub Actions
What are you seeing?
unsupported extension name extensions.worktreeconfig
Looks like issue #1090 is suddenly back
What is expected?
No error
Steps to Reproduce
The error is suddenly back:
Run actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
repository: /
token: ***
ssh-strict: true
persist-credentials: true
clean: true
sparse-checkout-cone-mode: true
show-progress: true
lfs: false
submodules: false
set-safe-directory: true
/usr/bin/git version
git version 2.34.1
Run gittools/actions/gitversion/setup@v1
with:
versionSpec: 5.x
preferLatestVersion: true
includePrerelease: false
ignoreFailedSources: false
Run gittools/actions/gitversion/execute@v1
with:
disableShallowCloneCheck: true
useConfigFile: false
disableCache: false
disableNormalization: false
configFilePath: GitVersion.yml
updateAssemblyInfo: false
Resulting in:
INFO [04/22/24 15:49:41:90] Working directory: /home/ubuntu/_work//
unsupported extension name extensions.worktreeconfig
INFO [04/22/24 15:49:41:95] Done writing
Error: Error: The process '/home/ubuntu/_work/_tool/GitVersion.Tool/5.12.0/x64/dotnet-gitversion' failed with exit code 1
Output log or link to your CI build (if appropriate).
No response
The text was updated successfully, but these errors were encountered: