Skip to content

feat(github-actions): add WaitForCopilotReview workflow step#4

Open
DecSmith42 wants to merge 1 commit into
mainfrom
improvement/wait-for-copilot
Open

feat(github-actions): add WaitForCopilotReview workflow step#4
DecSmith42 wants to merge 1 commit into
mainfrom
improvement/wait-for-copilot

Conversation

@DecSmith42

Copy link
Copy Markdown
Contributor

Added a new WaitForCopilotReview step to .github/workflows/Validate.yml for automated review handling. Updated Invex.RepoUtils package references to 1.4.0 across projects for compatibility. Enhanced _atom with the new IWaitForCopilotReview interface for streamlined workflow support.

Added a new `WaitForCopilotReview` step to `.github/workflows/Validate.yml` for automated review handling.
Updated `Invex.RepoUtils` package references to `1.4.0` across projects for compatibility.
Enhanced `_atom` with the new `IWaitForCopilotReview` interface for streamlined workflow support.
Copilot AI review requested due to automatic review settings June 10, 2026 13:28
@DecSmith42 DecSmith42 enabled auto-merge June 10, 2026 13:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the repo’s Atom-generated GitHub Actions validation pipeline with a new WaitForCopilotReview automation target, and bumps Invex.RepoUtils package dependencies to 1.4.0 to pick up the corresponding Atom helpers.

Changes:

  • Add a new WaitForCopilotReview target to the Atom workflow definition and emit it into Validate.yml.
  • Update Invex.RepoUtils.* package references to 1.4.0 across the library, tests, and _atom.
  • Remove the unused _atom/IPullRequestHelper.cs interface.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/Invex.FileSystem.Tests/Invex.FileSystem.Tests.csproj Bumps Invex.RepoUtils.TestUtils to 1.4.0.
src/Invex.FileSystem/Invex.FileSystem.csproj Bumps Invex.RepoUtils.PublicApiAnalyzers to 1.4.0.
.github/workflows/Validate.yml Adds a new WaitForCopilotReview job to the Validate workflow.
_atom/IBuild.cs Adds IWaitForCopilotReview and wires a WaitForCopilotReview workflow target into Validate.
_atom/_atom.csproj Bumps Invex.RepoUtils.Atom.Module to 1.4.0.
_atom/IPullRequestHelper.cs Removes a now-unused helper interface.

Comment thread _atom/IBuild.cs
Comment on lines +248 to +255
new(nameof(WaitForCopilotReview))
{
Options =
[
BuildOptions.Inject.Secret(nameof(GithubToken)),
BuildOptions.Inject.Github.PullRequestNumber,
],
},
Comment on lines +116 to +136
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 }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants