feat: Implement webhooks library and perform webhook call on project event #257
Annotations
10 errors and 8 warnings
Lint code:
api/api/applications_api.go#L1
: # github.com/caraml-dev/mlp/api/api [github.com/caraml-dev/mlp/api/api.test]
|
Lint code:
api/api/projects_api_test.go#L209
not enough arguments in call to service.NewProjectsService
|
Lint code:
api/api/projects_api_test.go#L319
not enough arguments in call to service.NewProjectsService
|
Lint code:
api/api/projects_api_test.go#L479
not enough arguments in call to service.NewProjectsService
|
Lint code:
api/api/projects_api_test.go#L598
not enough arguments in call to service.NewProjectsService
|
Lint code:
api/service/applications_service.go#L1
: # github.com/caraml-dev/mlp/api/service [github.com/caraml-dev/mlp/api/service.test]
|
Lint code:
api/service/projects_service_test.go#L106
not enough arguments in call to NewProjectsService
|
Lint code:
api/service/projects_service_test.go#L200
not enough arguments in call to NewProjectsService
|
Lint code:
api/service/projects_service_test.go#L297
not enough arguments in call to NewProjectsService
|
Lint code:
api/service/projects_service_test.go#L324
not enough arguments in call to NewProjectsService
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3, golangci/golangci-lint-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint code
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint code
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint code:
api/pkg/webhooks/manager.go#L163
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint code:
api/pkg/webhooks/manager.go#L176
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
Lint code:
api/pkg/webhooks/manager.go#L187
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "mlp-api.v1.12.1-build.14-6097b4e.tar", "mlp-ui-dist".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading