-
Notifications
You must be signed in to change notification settings - Fork 42
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
Fix handling of multiple nodes within list item #166
Conversation
8847823
to
eb827c4
Compare
Thanks for your contribution. Please rebase for GH actions to run successfully. Could we have some tests for this? 👍 |
eb827c4
to
f27903a
Compare
I added a test for the If you look at my changes in |
please rebase your branch on main |
f27903a
to
16a9f60
Compare
16a9f60
to
61c6287
Compare
@YannCebron, I looked into the build failures caused by dorny/test-reporter myself for a moment and there seem to be four open issues regarding this error:
I noticed that you referenced the last one in your previous attempt to fix the issue. The other tickets also mention the
I am also not sure if providing write access to pull requests is a great idea. It would allow other people to mess with checks and statuses on your repository without being a member. So, I am currently not sure if there is a good solution for using this action in pull requests. |
Good job, Johannes — thank you! |
Pull Request Details
This pull request is supposed to fix #133 and fix #147. At least it works in my case. I am not really familiar with Kotlin or the implementation details of this plugin. I basically just searched for usages of
last()
within list items.Description
This PR replaces the usage of
last()
to avoid discarding previous nodes.Related Issue
Motivation and Context
See the issues above. I personally run into this problem while trying to update the changelog plugin on the nix-idea project. The plugin specifically breaks for the following part of the changelog.
https://github.com/NixOS/nix-idea/blob/59cc3e911fb468b225a92c1e331d135ec56e01cf/CHANGELOG.md?plain=1#L78-L90
How Has This Been Tested
I tested the changes on the nix-idea project, where I run into the issues above. I locally published a snapshot and used it in the project. I was not familiar enough with Kotlin and the project setup of this repository to make more elaborate tests.
Types of changes
Checklist