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

Print Status as well if api code fails #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sreejith-kulamgarath
Copy link

Summary of PR changes

The error status helps us to troubleshoot better. Currently the error message only shows the message which sometimes can be generic. For example:

Error: An error occurred trying to create the status check: Invalid request.

PR Requirements

  • For major, minor, or breaking changes, at least one of the commit messages contains the appropriate +semver: keywords.
    • See the Incrementing the Version section of the repository's README.md for more details.
  • The action code does not contain sensitive information.

NOTE: If the repo's workflow could not automatically update the README.md, it should be updated manually with the next version. For javascript actions, if the repo's workflow could not automatically recompile the action it should also be updated manually as part of the PR.

The error status helps us to troubleshoot better. Currently the error message only shows the message which sometimes can be generic. For example:

Error: An error occurred trying to create the status check: Invalid request.
@sreejith-kulamgarath sreejith-kulamgarath requested a review from a team as a code owner March 17, 2025 03:56
@hpractv
Copy link
Contributor

hpractv commented Mar 19, 2025

This change is fine. The README.md example needs to be updated with the new version that will be created after merge (v2.3.1):
https://github.com/im-open/process-code-coverage-summary?tab=readme-ov-file#updating-the-readmemd

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

Successfully merging this pull request may close these issues.

2 participants