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

Having & in the commit message fails deployment #1

Closed
HardeepAsrani opened this issue Jul 18, 2024 · 1 comment
Closed

Having & in the commit message fails deployment #1

HardeepAsrani opened this issue Jul 18, 2024 · 1 comment
Assignees
Labels
bug This label could be used to identify issues that are caused by a defect in the product.

Comments

@HardeepAsrani
Copy link
Member

You get the following message if the commit message contains the & char:

Run Codeinwp/action-store-release@main
⬤  debug     Starting commit verification!
⬤  debug     No commit found!
⬤  debug     Status Code: 200
⬤  debug     Body:  {
  code: 'rest_invalid_json',
  message: 'Invalid JSON body passed.',
  data: {
    status: 400,
    json_error_code: 3,
    json_error_message: 'Control character error, possibly incorrectly encoded'
  }
}

Couple of examples where it failed:

@HardeepAsrani HardeepAsrani added the bug This label could be used to identify issues that are caused by a defect in the product. label Jul 18, 2024
@selul selul self-assigned this Jul 23, 2024
@selul selul closed this as completed in de98685 Aug 16, 2024
@selul
Copy link
Contributor

selul commented Aug 16, 2024

fixed it, the error was with the quotes and apostrophes in the messages, not &

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product.
Projects
None yet
Development

No branches or pull requests

2 participants