-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Ana06/get-changed-files v2.3.0 Considers renamed modified files as modified #13043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…des renamed non-modified files and all files in added_modified this caused any renamed and modified files to get added to the list of files to publish twice, which results in a publishing error on the second try.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 3 Skipped Deployments
|
WalkthroughThe recent changes simplify the processing of file outputs in a GitHub Actions workflow by consolidating multiple outputs related to file changes into a single variable. This adjustment reduces complexity and enhances efficiency while keeping the overall control flow intact. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- .github/workflows/publish-components.yaml (1 hunks)
Additional comments not posted (1)
.github/workflows/publish-components.yaml (1)
67-67: LGTM! But verify the correctness of the new output.The change to use
steps.files.outputs.added_modified_renamedsimplifies the logic and should help avoid duplication issues. Ensure that the new output is correctly generated and includes all necessary file changes.
modified. If a file is in fact renamed and not modified, it should cause a different error during PR checks. Also fixing for the TS build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- .github/workflows/publish-components.yaml (2 hunks)
Files skipped from review as they are similar to previous changes (1)
- .github/workflows/publish-components.yaml
This caused any renamed and modified files to get added to the list of files to publish twice, which resulted in a publishing error on the second try.
We will switch to just using
added_modified, as renamed files that have not been modified shouldn't affect anything, and will probably cause a separate failure during PR checks.WHY
Summary by CodeRabbit