You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a GitHub workflow that uses some .NET global tools to do things where the versions were pinned using environment variables. I had the idea that if I used a .config/dotnet-tools.json file to specify the versions instead, I could leverage dependabot to keep the tools up-to-date without me needing to manually bump the versions (see martincostello/github-automation@64b1cd7).
However, it turns out that this won't work as-is because my repository doesn't contain any .NET code:
Errored with the message "Dependabot couldn't find a *.(sln|csproj|vbproj|fsproj|proj)"
It would be beneficial to update the relevant code to support this scenario by checking for the presence of a .config/dotnet-tools.json file in the root of the repository so that the job does not bail-out early with an error.
The text was updated successfully, but these errors were encountered:
I've run into this a number of times, and again just now. In my situation the repo is using full framework and a couple non-sdk style projects so I can't use dependabot on the projects, but I do want it on the local tools.
Is there an existing issue for this?
Feature description
I have a GitHub workflow that uses some .NET global tools to do things where the versions were pinned using environment variables. I had the idea that if I used a
.config/dotnet-tools.json
file to specify the versions instead, I could leverage dependabot to keep the tools up-to-date without me needing to manually bump the versions (see martincostello/github-automation@64b1cd7).However, it turns out that this won't work as-is because my repository doesn't contain any .NET code:
It would be beneficial to update the relevant code to support this scenario by checking for the presence of a
.config/dotnet-tools.json
file in the root of the repository so that the job does not bail-out early with an error.The text was updated successfully, but these errors were encountered: