Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/Validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,24 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-pull-request-number: ${{ github.event.number }}

WaitForCopilotReview:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup .NET 10.0.x
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x

- name: WaitForCopilotReview
id: WaitForCopilotReview
run: dotnet run --project _atom/_atom.csproj -- WaitForCopilotReview --skip --headless
env:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-pull-request-number: ${{ github.event.number }}

Comment on lines +116 to +136
11 changes: 10 additions & 1 deletion _atom/IBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ internal interface IBuild : IWorkflowBuildDefinition,
IDotnetTestHelper,
INugetHelper,
IGithubReleaseHelper,
IDocFxHelper
IDocFxHelper,
IWaitForCopilotReview
{
[ParamDefinition("test-framework", "Test framework to use for unit tests")]
string TestFramework => GetParam(() => TestFramework, "net10.0");
Expand Down Expand Up @@ -244,6 +245,14 @@ await UnlistPrereleasesBelowVersionForPackages(NugetFeed,
TextExpressions.Github.GithubEventName.EqualToString("pull_request")),
],
},
new(nameof(WaitForCopilotReview))
{
Options =
[
BuildOptions.Inject.Secret(nameof(GithubToken)),
BuildOptions.Inject.Github.PullRequestNumber,
],
},
Comment on lines +248 to +255
],
Types = [WorkflowTypes.Github.Action],
},
Expand Down
7 changes: 0 additions & 7 deletions _atom/IPullRequestHelper.cs

This file was deleted.

2 changes: 1 addition & 1 deletion _atom/_atom.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ItemGroup>
<PackageReference Include="Invex.Atom.Module.GithubWorkflows" Version="3.0.0" />
<PackageReference Include="Invex.Atom.Module.GitVersion" Version="3.0.0" />
<PackageReference Include="Invex.RepoUtils.Atom.Module" Version="1.3.0" />
<PackageReference Include="Invex.RepoUtils.Atom.Module" Version="1.4.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Invex.FileSystem/Invex.FileSystem.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Invex.RepoUtils.PublicApiAnalyzers" Version="1.3.0">
<PackageReference Include="Invex.RepoUtils.PublicApiAnalyzers" Version="1.4.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
2 changes: 1 addition & 1 deletion tests/Invex.FileSystem.Tests/Invex.FileSystem.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<ItemGroup>
<PackageReference Include="FakeItEasy" Version="9.0.1" />
<PackageReference Include="Invex.RepoUtils.TestUtils" Version="1.3.0" />
<PackageReference Include="Invex.RepoUtils.TestUtils" Version="1.4.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.9" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="10.0.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
Expand Down