Skip to content

GitHub Status notifications error #399

@jacek-jablonski

Description

@jacek-jablonski

Hi,
I've got GitHub checkRun notification defined, as in docs:

      template.app-deployed: |
        ...
        github:
          checkRun:
            name: "continuous-delivery/{{.app.metadata.name}}"
            details_url: "{{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true"
            status: completed
            conclusion: success
            started_at: "YYYY-MM-DDTHH:MM:SSZ"
            completed_at: "YYYY-MM-DDTHH:MM:SSZ"
            output:
              title: "Deployment of {{.app.metadata.name}} on ArgoCD"
              summary: "Application {{.app.metadata.name}} is now running new version of deployments manifests."
              text: |
                Application {{.app.metadata.name}} is now running new version of deployments manifests.
                See more here: {{.context.argocdUrl}}/applications/{{.app.metadata.name}}?operation=true

However in notifications-controller logs I can see that the call to the GitHub API was unsuccessful:

Failed to notify recipient {github } defined in resource argocd/panel-staging: POST https://api.github.com/repos/xxx/infra-panel/check-runs: 422 Validation Failed [{Resource:CheckRun Field:conclusion Code:missing_field Message:}] using the configuration in namespace argocd

Seems like some bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions