Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Bug] Can not use webhook with "environment" #432

Copy link
Copy link
@gnomii

Description

@gnomii
Issue body actions

Hello,

I have two environments "development" and "production" to deploy my projects. I use a webhook with gitea server and I receive a 500 status code when it called the webhook.

I have this error since tag 2.1.0. Before this, I used a master with this feature #407

You can try with curl command in terminal:

curl 'PHPCENSOR/webhook/git/PROJECTID?environment=development'

Returns:
{"status":"failed","error":"PHPCensor\\Controller\\WebhookController::createBuild(): Argument #3 ($commitId) must be of type string, null given, called in \/usr\/local\/www\/php-censor\/src\/Controller\/WebhookController.php on line 368"}

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.