Skip to content

Commit 23b2cdd

Browse files
committed
SourceLink and another log entry
1 parent 2d5ee3c commit 23b2cdd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/GitHubActionsVS.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@
146146
<PackageReference Include="CredentialManagement">
147147
<Version>1.0.2</Version>
148148
</PackageReference>
149+
<PackageReference Include="DotNet.ReproducibleBuilds">
150+
<Version>1.1.1</Version>
151+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
152+
<PrivateAssets>all</PrivateAssets>
153+
</PackageReference>
149154
<PackageReference Include="Emoji.Wpf">
150155
<Version>0.3.4</Version>
151156
</PackageReference>

src/ToolWindows/GHActionsToolWindow.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ public async Task GetRepoInfoAsync()
112112
if (_repoInfo.IsGitHub)
113113
{
114114
Debug.WriteLine($"GitHub repo: {_repoInfo.RepoOwner}/{_repoInfo.RepoName}");
115+
await _pane.WriteLineAsync($"Found repo for {gitPath} at {_repoInfo.RepoOwner}/{_repoInfo.RepoName}");
115116
await LoadDataAsync();
116117
}
117118
else
@@ -300,7 +301,7 @@ private async Task RefreshEnvironmentsAsync(GitHubClient client)
300301
{
301302
if (ex.StatusCode == System.Net.HttpStatusCode.Unauthorized || ex.StatusCode == System.Net.HttpStatusCode.Forbidden)
302303
{
303-
envList.Add(new SimpleEnvironment() { Name = "Insufficient permissions to retrieve Secrets" });
304+
envList.Add(new SimpleEnvironment() { Name = resx.INSUFFICIENT_SECRET_PERMS });
304305
await ex.LogAsync(ex.Message);
305306
}
306307
}

0 commit comments

Comments
 (0)