Skip to content
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

nth comment match #162

Closed
septante opened this issue Apr 17, 2023 · 2 comments · Fixed by #164 or #170
Closed

nth comment match #162

septante opened this issue Apr 17, 2023 · 2 comments · Fixed by #164 or #170

Comments

@septante
Copy link

Hi,
Would it be possible to add a parameter to get the nth comment that matches the search criteria? The use case I have in mind involves a tracker issue with multiple comments by the github-actions bot, where each comment corresponds to a different sub-topic and is automatically updated using the create-or-update-comment action. It would be nice to be able to, for example, get the third comment by the bot using a parameter instead of having to rely on string matches.

@peter-evans
Copy link
Owner

This feature has been released in v2.4.0 / v2.

Thank you @NiloCK !

@septante
Copy link
Author

Thank you both!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants