-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add the issue_number of the issue being commented on as input #97
Comments
Can you please provide an example of what you mean. |
@MishaKav Thanks for confirming. If triggered by So I would like to be able to set the jest-coverage-comment/src/create-comment.ts Lines 12 to 16 in 434e6d2
My use case would be as follows. |
I got you, I will implement this soon when I have some free time. |
Fixes #97 Add the ability to specify the issue number of the issue being commented on as an optional argument. * Add `issue-number` input parameter in `action.yml` to specify the issue number. * Update `createComment` function in `src/create-comment.ts` to accept `issueNumber` from `options` if provided, otherwise fallback to the current logic. * Add logic in `src/index.ts` to retrieve the `issue-number` input parameter and pass it to the `createComment` function. * Update `README.md` to include documentation for the new `issue-number` input parameter. * Add `issueNumber` to `Options` interface in `src/types.d.ts`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/MishaKav/jest-coverage-comment/issues/97?shareId=XXXX-XXXX-XXXX-XXXX).
It would be helpful to be able to specify the issue to comment on, as I would like to use this action in a workflow triggered by
issue_comment
.The text was updated successfully, but these errors were encountered: