feat(github-actions): add WaitForCopilotReview workflow step#4
Open
DecSmith42 wants to merge 1 commit into
Open
feat(github-actions): add WaitForCopilotReview workflow step#4DecSmith42 wants to merge 1 commit into
DecSmith42 wants to merge 1 commit into
Conversation
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.
There was a problem hiding this comment.
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
WaitForCopilotReviewtarget to the Atom workflow definition and emit it intoValidate.yml. - Update
Invex.RepoUtils.*package references to1.4.0across the library, tests, and_atom. - Remove the unused
_atom/IPullRequestHelper.csinterface.
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 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 }} | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a new
WaitForCopilotReviewstep to.github/workflows/Validate.ymlfor automated review handling. UpdatedInvex.RepoUtilspackage references to1.4.0across projects for compatibility. Enhanced_atomwith the newIWaitForCopilotReviewinterface for streamlined workflow support.