Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 25, 2025

PR Summary

This pull request updates the reusable composite GitHub Action for retrieving changed files in a pull request. The main improvements include removing the file count limit, clarifying filter pattern support, and ensuring case-insensitive filter matching for consistency across platforms.

Changed file retrieval and filtering:

  • The action now handles all changed files in a pull request, removing the previous 100-file limit. (.github/actions/infrastructure/get-changed-files/README.md)
  • Filter pattern support is clarified: only extension matching (*.ext) and path prefix matching are supported; complex glob or regex patterns are not. (.github/actions/infrastructure/get-changed-files/README.md)
  • Filter matching is now explicitly case-insensitive for cross-platform consistency. (.github/actions/infrastructure/get-changed-files/action.yml)

Documentation improvements:

  • The usage example now includes a step to check out the repository before running the action. (.github/actions/infrastructure/get-changed-files/README.md)

PR Context

Implements actionable feedback from automated code review on PR #26529. The case-insensitive filter behavior is intentional for cross-platform consistency, and a clarifying comment was added to document this design decision.

PR Checklist

Original prompt

open a new pull request to apply changes based on the comments in this thread


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

- Fix README.md: Change "Handles up to 100 changed files" to "Handles all changed files (no limit)"
- Fix README.md: Add actions/checkout step to basic usage example
- Fix README.md: Improve limitations section with better filter pattern description
- Fix action.yml: Change filter logic to use case-sensitive comparison for consistency with git

Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Copilot AI changed the title [WIP] Apply changes based on pull request review comments Apply code review feedback from get-changed-files action PR #26529 Nov 25, 2025
Copilot AI requested a review from TravisEz13 November 25, 2025 22:23
@TravisEz13
Copy link
Member

@copilot the filter was supposed to be case insensitive, revert that change and add a comment to make that clear

Reverts the case-sensitivity change per review feedback. The filter is
intentionally case-insensitive for cross-platform consistency. Added
comment to clarify this design decision.

Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Nov 25, 2025

@copilot the filter was supposed to be case insensitive, revert that change and add a comment to make that clear

Reverted the case-sensitivity change and added a clarifying comment: "Filter matching is intentionally case-insensitive for cross-platform consistency". Done in 35c6775.

@TravisEz13 TravisEz13 changed the title Apply code review feedback from get-changed-files action PR #26529 Documentation improvement for get-changed-files action Nov 25, 2025
@TravisEz13 TravisEz13 added the CL-Docs Indicates that a PR should be marked as a documentation change in the Change Log label Nov 25, 2025
@TravisEz13 TravisEz13 marked this pull request as ready for review November 25, 2025 22:31
@TravisEz13 TravisEz13 requested review from a team and jshigetomi as code owners November 25, 2025 22:31
Copilot AI review requested due to automatic review settings November 25, 2025 22:31
Copy link
Contributor

Copilot AI left a comment

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 improves the documentation for the get-changed-files reusable composite action. The changes clarify pagination behavior, filter pattern support, and add a necessary prerequisite step to the usage example. This documentation-only change makes the action easier to understand and use correctly.

Key changes:

  • Clarifies that the action handles all changed files without limits (pagination support was already implemented)
  • Adds explicit case-insensitive filter matching comment in the action code
  • Includes checkout step in usage example (required for local action references)

Reviewed changes

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

File Description
.github/actions/infrastructure/get-changed-files/action.yml Adds inline comment documenting case-insensitive filter behavior for cross-platform consistency
.github/actions/infrastructure/get-changed-files/README.md Updates documentation to clarify no file limit, adds checkout step to usage example, and provides clearer explanation of supported filter patterns

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@microsoft-github-policy-service microsoft-github-policy-service bot added the Review - Needed The PR is being reviewed label Dec 3, 2025
@microsoft-github-policy-service
Copy link
Contributor

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days.
Maintainer, please provide feedback and/or mark it as Waiting on Author

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

Labels

CL-Docs Indicates that a PR should be marked as a documentation change in the Change Log Review - Needed The PR is being reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants