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

Pull request generator rejects incoming webhook event for action "pull_request.labeled" with 400 "event not defined to be parsed" #21755

Open
corneliusroemer opened this issue Feb 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@corneliusroemer
Copy link
Contributor

corneliusroemer commented Feb 3, 2025

Maybe related issue: #16716

Describe the bug

Having configured Github webhooks as explained in the documentation: https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Generators-Pull-Request/#webhook-configuration with events sent for "Pull requests" as well (as we're using a Pull Request generator in addition to Git), the webhook event sent by Github is rejected for events of type "labeled":

Response: 400
Body: Webhook processing failed: event not defined to be parsed

To Reproduce

  1. Add the following generators to your appset
  generators:
    - git:
          repoURL: https://github.com/pathoplexus/loculus_deployments.git
          revision: HEAD
          files:
          - path: "deploy/**/config.json"
    - pullRequest:
        github:
          owner: pathoplexus
          repo: pathoplexus
          tokenRef:
            secretName: pathoplexus-pr-pat
            key: pat
          labels:
          - preview
        requeueAfterSeconds: 180
  1. Configure Github webhooks as explained on https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/Generators-Pull-Request/#webhook-configuration
  2. Label a PR to trigger the webhook event with action "labeled"
  3. Observe response to webhook in Github UI: response is 400 with "Webhook processing failed: event not defined to be parsed"

Expected behavior

Event of type "labeled" is accepted and triggers a refresh (if the label applied is the one that's referenced in the appset.

Screenshots

Request:
Image

Response:
Image

Version

argocd-server: v2.11.3+3f344d5)

Full appset

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
  name: pull-request-appset
  namespace: argocd
spec:
  goTemplate: true
  # goTemplateOptions: ["missingkey=error"]
  generators:
    - git:
          repoURL: https://github.com/pathoplexus/loculus_deployments.git
          revision: HEAD
          files:
          - path: "deploy/**/config.json"
    - pullRequest:
        github:
          owner: pathoplexus
          repo: pathoplexus
          tokenRef:
            secretName: pathoplexus-pr-pat
            key: pat
          labels:
          - preview
        requeueAfterSeconds: 180
  template:
    metadata:
      name: 'pp-instance-controller-{{.branch | replace "_" "-" | replace "/"   "-" | trimSuffix "-" | lower }}'
    spec:
      destination:
        server: 'https://kubernetes.default.svc'
        namespace: '{{.branch | replace "_" "-" | replace "/"   "-" | trimSuffix "-" | lower }}'
      project: default
      source:
        helm:
          parameters:
            - name: pathoplexusVersion
              value: '{{.head_sha}}'
            - name: pathoplexusBranch
              value: '{{.branch}}'     
            - name: special_environment
              value: '{{.special_environment | default "" }}'
            - name: host
              value: '{{.host | default (printf "preview-%s.pathoplexus.org" .branch) }}'

        repoURL: https://github.com/pathoplexus/pathoplexus.git
        targetRevision: '{{.head_sha}}'
        path: 'pathoplexus_app'
      syncPolicy:
        syncOptions:
          - CreateNamespace=true
        automated:
          selfHeal: true
          prune: true

Logs

Github webhook

Headers

Request URL: https://argocd.pathoplexus.org/api/webhook
Request method: POST
Accept: */*
Content-Type: application/json
User-Agent: GitHub-Hookshot/5cd0f99
X-GitHub-Delivery: bcbdb480-e268-11ef-88ec-0437cdbcf610
X-GitHub-Event: pull_request
X-GitHub-Hook-ID: 527964517
X-GitHub-Hook-Installation-Target-ID: 847793296
X-GitHub-Hook-Installation-Target-Type: repository

Payload


{
  "action": "labeled",
  "number": 362,
  "pull_request": {
    "url": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls/362",
    "id": 2313275363,
    "node_id": "PR_kwDOMohMkM6J4cfj",
    "html_url": "https://github.com/pathoplexus/pathoplexus/pull/362",
    "diff_url": "https://github.com/pathoplexus/pathoplexus/pull/362.diff",
    "patch_url": "https://github.com/pathoplexus/pathoplexus/pull/362.patch",
    "issue_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/362",
    "number": 362,
    "state": "open",
    "locked": false,
    "title": "Increase cronjob time",
    "user": {
      "login": "anna-parker",
      "id": 50943381,
      "node_id": "MDQ6VXNlcjUwOTQzMzgx",
      "avatar_url": "https://avatars.githubusercontent.com/u/50943381?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/anna-parker",
      "html_url": "https://github.com/anna-parker",
      "followers_url": "https://api.github.com/users/anna-parker/followers",
      "following_url": "https://api.github.com/users/anna-parker/following{/other_user}",
      "gists_url": "https://api.github.com/users/anna-parker/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/anna-parker/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/anna-parker/subscriptions",
      "organizations_url": "https://api.github.com/users/anna-parker/orgs",
      "repos_url": "https://api.github.com/users/anna-parker/repos",
      "events_url": "https://api.github.com/users/anna-parker/events{/privacy}",
      "received_events_url": "https://api.github.com/users/anna-parker/received_events",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "body": "used by cronjob here:  https://github.com/loculus-project/loculus/blob/main/kubernetes/loculus/templates/ena-submission-deployment.yaml#L124",
    "created_at": "2025-02-03T17:30:39Z",
    "updated_at": "2025-02-03T19:54:54Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": "de899d689c7c5358fe8f4107df3790d473baad33",
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [

    ],
    "labels": [
      {
        "id": 7377772310,
        "node_id": "LA_kwDOMohMkM8AAAABt7_fFg",
        "url": "https://api.github.com/repos/pathoplexus/pathoplexus/labels/preview",
        "name": "preview",
        "color": "BFDADC",
        "default": false,
        "description": ""
      }
    ],
    "milestone": null,
    "draft": false,
    "commits_url": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls/362/commits",
    "review_comments_url": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls/362/comments",
    "review_comment_url": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/362/comments",
    "statuses_url": "https://api.github.com/repos/pathoplexus/pathoplexus/statuses/5d28174e4581989e8505e0822690928616f70224",
    "head": {
      "label": "pathoplexus:increase_cronjob_time",
      "ref": "increase_cronjob_time",
      "sha": "5d28174e4581989e8505e0822690928616f70224",
      "user": {
        "login": "pathoplexus",
        "id": 156229394,
        "node_id": "O_kgDOCU_fEg",
        "avatar_url": "https://avatars.githubusercontent.com/u/156229394?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/pathoplexus",
        "html_url": "https://github.com/pathoplexus",
        "followers_url": "https://api.github.com/users/pathoplexus/followers",
        "following_url": "https://api.github.com/users/pathoplexus/following{/other_user}",
        "gists_url": "https://api.github.com/users/pathoplexus/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/pathoplexus/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/pathoplexus/subscriptions",
        "organizations_url": "https://api.github.com/users/pathoplexus/orgs",
        "repos_url": "https://api.github.com/users/pathoplexus/repos",
        "events_url": "https://api.github.com/users/pathoplexus/events{/privacy}",
        "received_events_url": "https://api.github.com/users/pathoplexus/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "repo": {
        "id": 847793296,
        "node_id": "R_kgDOMohMkA",
        "name": "pathoplexus",
        "full_name": "pathoplexus/pathoplexus",
        "private": false,
        "owner": {
          "login": "pathoplexus",
          "id": 156229394,
          "node_id": "O_kgDOCU_fEg",
          "avatar_url": "https://avatars.githubusercontent.com/u/156229394?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/pathoplexus",
          "html_url": "https://github.com/pathoplexus",
          "followers_url": "https://api.github.com/users/pathoplexus/followers",
          "following_url": "https://api.github.com/users/pathoplexus/following{/other_user}",
          "gists_url": "https://api.github.com/users/pathoplexus/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/pathoplexus/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/pathoplexus/subscriptions",
          "organizations_url": "https://api.github.com/users/pathoplexus/orgs",
          "repos_url": "https://api.github.com/users/pathoplexus/repos",
          "events_url": "https://api.github.com/users/pathoplexus/events{/privacy}",
          "received_events_url": "https://api.github.com/users/pathoplexus/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "html_url": "https://github.com/pathoplexus/pathoplexus",
        "description": "An open-source pathogen sequence database dedicated to equitable sharing, transparent governance, & empowering global public health.",
        "fork": false,
        "url": "https://api.github.com/repos/pathoplexus/pathoplexus",
        "forks_url": "https://api.github.com/repos/pathoplexus/pathoplexus/forks",
        "keys_url": "https://api.github.com/repos/pathoplexus/pathoplexus/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/pathoplexus/pathoplexus/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/pathoplexus/pathoplexus/teams",
        "hooks_url": "https://api.github.com/repos/pathoplexus/pathoplexus/hooks",
        "issue_events_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/events{/number}",
        "events_url": "https://api.github.com/repos/pathoplexus/pathoplexus/events",
        "assignees_url": "https://api.github.com/repos/pathoplexus/pathoplexus/assignees{/user}",
        "branches_url": "https://api.github.com/repos/pathoplexus/pathoplexus/branches{/branch}",
        "tags_url": "https://api.github.com/repos/pathoplexus/pathoplexus/tags",
        "blobs_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/pathoplexus/pathoplexus/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/pathoplexus/pathoplexus/languages",
        "stargazers_url": "https://api.github.com/repos/pathoplexus/pathoplexus/stargazers",
        "contributors_url": "https://api.github.com/repos/pathoplexus/pathoplexus/contributors",
        "subscribers_url": "https://api.github.com/repos/pathoplexus/pathoplexus/subscribers",
        "subscription_url": "https://api.github.com/repos/pathoplexus/pathoplexus/subscription",
        "commits_url": "https://api.github.com/repos/pathoplexus/pathoplexus/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/pathoplexus/pathoplexus/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/pathoplexus/pathoplexus/contents/{+path}",
        "compare_url": "https://api.github.com/repos/pathoplexus/pathoplexus/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/pathoplexus/pathoplexus/merges",
        "archive_url": "https://api.github.com/repos/pathoplexus/pathoplexus/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/pathoplexus/pathoplexus/downloads",
        "issues_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues{/number}",
        "pulls_url": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/pathoplexus/pathoplexus/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/pathoplexus/pathoplexus/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/pathoplexus/pathoplexus/labels{/name}",
        "releases_url": "https://api.github.com/repos/pathoplexus/pathoplexus/releases{/id}",
        "deployments_url": "https://api.github.com/repos/pathoplexus/pathoplexus/deployments",
        "created_at": "2024-08-26T14:58:22Z",
        "updated_at": "2025-02-03T15:13:12Z",
        "pushed_at": "2025-02-03T17:50:40Z",
        "git_url": "git://github.com/pathoplexus/pathoplexus.git",
        "ssh_url": "[email protected]:pathoplexus/pathoplexus.git",
        "clone_url": "https://github.com/pathoplexus/pathoplexus.git",
        "svn_url": "https://github.com/pathoplexus/pathoplexus",
        "homepage": "https://pathoplexus.org",
        "size": 7402,
        "stargazers_count": 31,
        "watchers_count": 31,
        "language": "MDX",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "has_discussions": false,
        "forks_count": 2,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 64,
        "license": {
          "key": "agpl-3.0",
          "name": "GNU Affero General Public License v3.0",
          "spdx_id": "AGPL-3.0",
          "url": "https://api.github.com/licenses/agpl-3.0",
          "node_id": "MDc6TGljZW5zZTE="
        },
        "allow_forking": true,
        "is_template": false,
        "web_commit_signoff_required": false,
        "topics": [
          "bioinformatics",
          "data-sharing",
          "public-health",
          "sequencing-data",
          "virus-evolution",
          "virus-sequences"
        ],
        "visibility": "public",
        "forks": 2,
        "open_issues": 64,
        "watchers": 31,
        "default_branch": "main",
        "allow_squash_merge": true,
        "allow_merge_commit": false,
        "allow_rebase_merge": true,
        "allow_auto_merge": false,
        "delete_branch_on_merge": true,
        "allow_update_branch": true,
        "use_squash_pr_title_as_default": false,
        "squash_merge_commit_message": "COMMIT_MESSAGES",
        "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
        "merge_commit_message": "PR_TITLE",
        "merge_commit_title": "MERGE_MESSAGE"
      }
    },
    "base": {
      "label": "pathoplexus:cherry-deposition",
      "ref": "cherry-deposition",
      "sha": "cc1dbf05649e33703d00ed764eaf83d2fc758fa2",
      "user": {
        "login": "pathoplexus",
        "id": 156229394,
        "node_id": "O_kgDOCU_fEg",
        "avatar_url": "https://avatars.githubusercontent.com/u/156229394?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/pathoplexus",
        "html_url": "https://github.com/pathoplexus",
        "followers_url": "https://api.github.com/users/pathoplexus/followers",
        "following_url": "https://api.github.com/users/pathoplexus/following{/other_user}",
        "gists_url": "https://api.github.com/users/pathoplexus/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/pathoplexus/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/pathoplexus/subscriptions",
        "organizations_url": "https://api.github.com/users/pathoplexus/orgs",
        "repos_url": "https://api.github.com/users/pathoplexus/repos",
        "events_url": "https://api.github.com/users/pathoplexus/events{/privacy}",
        "received_events_url": "https://api.github.com/users/pathoplexus/received_events",
        "type": "Organization",
        "user_view_type": "public",
        "site_admin": false
      },
      "repo": {
        "id": 847793296,
        "node_id": "R_kgDOMohMkA",
        "name": "pathoplexus",
        "full_name": "pathoplexus/pathoplexus",
        "private": false,
        "owner": {
          "login": "pathoplexus",
          "id": 156229394,
          "node_id": "O_kgDOCU_fEg",
          "avatar_url": "https://avatars.githubusercontent.com/u/156229394?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/pathoplexus",
          "html_url": "https://github.com/pathoplexus",
          "followers_url": "https://api.github.com/users/pathoplexus/followers",
          "following_url": "https://api.github.com/users/pathoplexus/following{/other_user}",
          "gists_url": "https://api.github.com/users/pathoplexus/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/pathoplexus/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/pathoplexus/subscriptions",
          "organizations_url": "https://api.github.com/users/pathoplexus/orgs",
          "repos_url": "https://api.github.com/users/pathoplexus/repos",
          "events_url": "https://api.github.com/users/pathoplexus/events{/privacy}",
          "received_events_url": "https://api.github.com/users/pathoplexus/received_events",
          "type": "Organization",
          "user_view_type": "public",
          "site_admin": false
        },
        "html_url": "https://github.com/pathoplexus/pathoplexus",
        "description": "An open-source pathogen sequence database dedicated to equitable sharing, transparent governance, & empowering global public health.",
        "fork": false,
        "url": "https://api.github.com/repos/pathoplexus/pathoplexus",
        "forks_url": "https://api.github.com/repos/pathoplexus/pathoplexus/forks",
        "keys_url": "https://api.github.com/repos/pathoplexus/pathoplexus/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/pathoplexus/pathoplexus/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/pathoplexus/pathoplexus/teams",
        "hooks_url": "https://api.github.com/repos/pathoplexus/pathoplexus/hooks",
        "issue_events_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/events{/number}",
        "events_url": "https://api.github.com/repos/pathoplexus/pathoplexus/events",
        "assignees_url": "https://api.github.com/repos/pathoplexus/pathoplexus/assignees{/user}",
        "branches_url": "https://api.github.com/repos/pathoplexus/pathoplexus/branches{/branch}",
        "tags_url": "https://api.github.com/repos/pathoplexus/pathoplexus/tags",
        "blobs_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/pathoplexus/pathoplexus/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/pathoplexus/pathoplexus/languages",
        "stargazers_url": "https://api.github.com/repos/pathoplexus/pathoplexus/stargazers",
        "contributors_url": "https://api.github.com/repos/pathoplexus/pathoplexus/contributors",
        "subscribers_url": "https://api.github.com/repos/pathoplexus/pathoplexus/subscribers",
        "subscription_url": "https://api.github.com/repos/pathoplexus/pathoplexus/subscription",
        "commits_url": "https://api.github.com/repos/pathoplexus/pathoplexus/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/pathoplexus/pathoplexus/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/pathoplexus/pathoplexus/contents/{+path}",
        "compare_url": "https://api.github.com/repos/pathoplexus/pathoplexus/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/pathoplexus/pathoplexus/merges",
        "archive_url": "https://api.github.com/repos/pathoplexus/pathoplexus/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/pathoplexus/pathoplexus/downloads",
        "issues_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues{/number}",
        "pulls_url": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/pathoplexus/pathoplexus/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/pathoplexus/pathoplexus/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/pathoplexus/pathoplexus/labels{/name}",
        "releases_url": "https://api.github.com/repos/pathoplexus/pathoplexus/releases{/id}",
        "deployments_url": "https://api.github.com/repos/pathoplexus/pathoplexus/deployments",
        "created_at": "2024-08-26T14:58:22Z",
        "updated_at": "2025-02-03T15:13:12Z",
        "pushed_at": "2025-02-03T17:50:40Z",
        "git_url": "git://github.com/pathoplexus/pathoplexus.git",
        "ssh_url": "[email protected]:pathoplexus/pathoplexus.git",
        "clone_url": "https://github.com/pathoplexus/pathoplexus.git",
        "svn_url": "https://github.com/pathoplexus/pathoplexus",
        "homepage": "https://pathoplexus.org",
        "size": 7402,
        "stargazers_count": 31,
        "watchers_count": 31,
        "language": "MDX",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "has_discussions": false,
        "forks_count": 2,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 64,
        "license": {
          "key": "agpl-3.0",
          "name": "GNU Affero General Public License v3.0",
          "spdx_id": "AGPL-3.0",
          "url": "https://api.github.com/licenses/agpl-3.0",
          "node_id": "MDc6TGljZW5zZTE="
        },
        "allow_forking": true,
        "is_template": false,
        "web_commit_signoff_required": false,
        "topics": [
          "bioinformatics",
          "data-sharing",
          "public-health",
          "sequencing-data",
          "virus-evolution",
          "virus-sequences"
        ],
        "visibility": "public",
        "forks": 2,
        "open_issues": 64,
        "watchers": 31,
        "default_branch": "main",
        "allow_squash_merge": true,
        "allow_merge_commit": false,
        "allow_rebase_merge": true,
        "allow_auto_merge": false,
        "delete_branch_on_merge": true,
        "allow_update_branch": true,
        "use_squash_pr_title_as_default": false,
        "squash_merge_commit_message": "COMMIT_MESSAGES",
        "squash_merge_commit_title": "COMMIT_OR_PR_TITLE",
        "merge_commit_message": "PR_TITLE",
        "merge_commit_title": "MERGE_MESSAGE"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls/362"
      },
      "html": {
        "href": "https://github.com/pathoplexus/pathoplexus/pull/362"
      },
      "issue": {
        "href": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/362"
      },
      "comments": {
        "href": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/362/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls/362/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls/362/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/pathoplexus/pathoplexus/statuses/5d28174e4581989e8505e0822690928616f70224"
      }
    },
    "author_association": "CONTRIBUTOR",
    "auto_merge": null,
    "active_lock_reason": null,
    "merged": false,
    "mergeable": true,
    "rebaseable": true,
    "mergeable_state": "clean",
    "merged_by": null,
    "comments": 0,
    "review_comments": 0,
    "maintainer_can_modify": false,
    "commits": 1,
    "additions": 1,
    "deletions": 0,
    "changed_files": 1
  },
  "label": {
    "id": 7377772310,
    "node_id": "LA_kwDOMohMkM8AAAABt7_fFg",
    "url": "https://api.github.com/repos/pathoplexus/pathoplexus/labels/preview",
    "name": "preview",
    "color": "BFDADC",
    "default": false,
    "description": ""
  },
  "repository": {
    "id": 847793296,
    "node_id": "R_kgDOMohMkA",
    "name": "pathoplexus",
    "full_name": "pathoplexus/pathoplexus",
    "private": false,
    "owner": {
      "login": "pathoplexus",
      "id": 156229394,
      "node_id": "O_kgDOCU_fEg",
      "avatar_url": "https://avatars.githubusercontent.com/u/156229394?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/pathoplexus",
      "html_url": "https://github.com/pathoplexus",
      "followers_url": "https://api.github.com/users/pathoplexus/followers",
      "following_url": "https://api.github.com/users/pathoplexus/following{/other_user}",
      "gists_url": "https://api.github.com/users/pathoplexus/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/pathoplexus/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/pathoplexus/subscriptions",
      "organizations_url": "https://api.github.com/users/pathoplexus/orgs",
      "repos_url": "https://api.github.com/users/pathoplexus/repos",
      "events_url": "https://api.github.com/users/pathoplexus/events{/privacy}",
      "received_events_url": "https://api.github.com/users/pathoplexus/received_events",
      "type": "Organization",
      "user_view_type": "public",
      "site_admin": false
    },
    "html_url": "https://github.com/pathoplexus/pathoplexus",
    "description": "An open-source pathogen sequence database dedicated to equitable sharing, transparent governance, & empowering global public health.",
    "fork": false,
    "url": "https://api.github.com/repos/pathoplexus/pathoplexus",
    "forks_url": "https://api.github.com/repos/pathoplexus/pathoplexus/forks",
    "keys_url": "https://api.github.com/repos/pathoplexus/pathoplexus/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/pathoplexus/pathoplexus/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/pathoplexus/pathoplexus/teams",
    "hooks_url": "https://api.github.com/repos/pathoplexus/pathoplexus/hooks",
    "issue_events_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/events{/number}",
    "events_url": "https://api.github.com/repos/pathoplexus/pathoplexus/events",
    "assignees_url": "https://api.github.com/repos/pathoplexus/pathoplexus/assignees{/user}",
    "branches_url": "https://api.github.com/repos/pathoplexus/pathoplexus/branches{/branch}",
    "tags_url": "https://api.github.com/repos/pathoplexus/pathoplexus/tags",
    "blobs_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/pathoplexus/pathoplexus/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/pathoplexus/pathoplexus/languages",
    "stargazers_url": "https://api.github.com/repos/pathoplexus/pathoplexus/stargazers",
    "contributors_url": "https://api.github.com/repos/pathoplexus/pathoplexus/contributors",
    "subscribers_url": "https://api.github.com/repos/pathoplexus/pathoplexus/subscribers",
    "subscription_url": "https://api.github.com/repos/pathoplexus/pathoplexus/subscription",
    "commits_url": "https://api.github.com/repos/pathoplexus/pathoplexus/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/pathoplexus/pathoplexus/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/pathoplexus/pathoplexus/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/pathoplexus/pathoplexus/contents/{+path}",
    "compare_url": "https://api.github.com/repos/pathoplexus/pathoplexus/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/pathoplexus/pathoplexus/merges",
    "archive_url": "https://api.github.com/repos/pathoplexus/pathoplexus/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/pathoplexus/pathoplexus/downloads",
    "issues_url": "https://api.github.com/repos/pathoplexus/pathoplexus/issues{/number}",
    "pulls_url": "https://api.github.com/repos/pathoplexus/pathoplexus/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/pathoplexus/pathoplexus/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/pathoplexus/pathoplexus/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/pathoplexus/pathoplexus/labels{/name}",
    "releases_url": "https://api.github.com/repos/pathoplexus/pathoplexus/releases{/id}",
    "deployments_url": "https://api.github.com/repos/pathoplexus/pathoplexus/deployments",
    "created_at": "2024-08-26T14:58:22Z",
    "updated_at": "2025-02-03T15:13:12Z",
    "pushed_at": "2025-02-03T17:50:40Z",
    "git_url": "git://github.com/pathoplexus/pathoplexus.git",
    "ssh_url": "[email protected]:pathoplexus/pathoplexus.git",
    "clone_url": "https://github.com/pathoplexus/pathoplexus.git",
    "svn_url": "https://github.com/pathoplexus/pathoplexus",
    "homepage": "https://pathoplexus.org",
    "size": 7402,
    "stargazers_count": 31,
    "watchers_count": 31,
    "language": "MDX",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 2,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 64,
    "license": {
      "key": "agpl-3.0",
      "name": "GNU Affero General Public License v3.0",
      "spdx_id": "AGPL-3.0",
      "url": "https://api.github.com/licenses/agpl-3.0",
      "node_id": "MDc6TGljZW5zZTE="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": [
      "bioinformatics",
      "data-sharing",
      "public-health",
      "sequencing-data",
      "virus-evolution",
      "virus-sequences"
    ],
    "visibility": "public",
    "forks": 2,
    "open_issues": 64,
    "watchers": 31,
    "default_branch": "main",
    "custom_properties": {

    }
  },
  "organization": {
    "login": "pathoplexus",
    "id": 156229394,
    "node_id": "O_kgDOCU_fEg",
    "url": "https://api.github.com/orgs/pathoplexus",
    "repos_url": "https://api.github.com/orgs/pathoplexus/repos",
    "events_url": "https://api.github.com/orgs/pathoplexus/events",
    "hooks_url": "https://api.github.com/orgs/pathoplexus/hooks",
    "issues_url": "https://api.github.com/orgs/pathoplexus/issues",
    "members_url": "https://api.github.com/orgs/pathoplexus/members{/member}",
    "public_members_url": "https://api.github.com/orgs/pathoplexus/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/156229394?v=4",
    "description": "An open-source pathogen sequence database dedicated to equitable sharing, transparent governance, & empowering global public health."
  },
  "sender": {
    "login": "corneliusroemer",
    "id": 25161793,
    "node_id": "MDQ6VXNlcjI1MTYxNzkz",
    "avatar_url": "https://avatars.githubusercontent.com/u/25161793?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/corneliusroemer",
    "html_url": "https://github.com/corneliusroemer",
    "followers_url": "https://api.github.com/users/corneliusroemer/followers",
    "following_url": "https://api.github.com/users/corneliusroemer/following{/other_user}",
    "gists_url": "https://api.github.com/users/corneliusroemer/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/corneliusroemer/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/corneliusroemer/subscriptions",
    "organizations_url": "https://api.github.com/users/corneliusroemer/orgs",
    "repos_url": "https://api.github.com/users/corneliusroemer/repos",
    "events_url": "https://api.github.com/users/corneliusroemer/events{/privacy}",
    "received_events_url": "https://api.github.com/users/corneliusroemer/received_events",
    "type": "User",
    "user_view_type": "public",
    "site_admin": false
  }
}

Response

Headers

Content-Length: 58
Content-Type: text/plain; charset=utf-8
Date: Mon, 03 Feb 2025 19:54:55 GMT
X-Content-Type-Options: nosniff

Body

Webhook processing failed: event not defined to be parsed
@corneliusroemer corneliusroemer added the bug Something isn't working label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant