{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with GitHub.",
  "vendor": "github",
  "event": "package",
  "resource": "repository",
  "url": "https://hookdeck.com/webhooks/github/events#package",
  "description": "GitHub Packages package published or updated",
  "trigger": null,
  "listed_in": "https://docs.github.com/en/webhooks/webhook-events-and-payloads",
  "confidence": "documented",
  "schema_source": "from GitHub docs (example)",
  "identified_by": "x-github-event header and action field in the body",
  "payload": {
    "provenance": "doc-example",
    "value_realism": "doc-example-values",
    "field_count": 235,
    "key_fields": [],
    "delivery": {
      "title": "From GitHub docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "action": "published",
      "package": {
        "id": 10696,
        "name": "hello-world-npm",
        "namespace": "Codertocat/hello-world-npm",
        "description": null,
        "ecosystem": "docker",
        "package_type": "npm",
        "html_url": "https://github.com/Codertocat/hello-world-npm/packages/10696",
        "created_at": "2019-05-09T23:28:29Z",
        "updated_at": "2019-05-09T23:28:29Z",
        "owner": {
          "login": "Codertocat",
          "id": 21031067,
          "node_id": "MDQ6VXNlcjIxMDMxMDY3",
          "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/Codertocat",
          "html_url": "https://github.com/Codertocat",
          "followers_url": "https://api.github.com/users/Codertocat/followers",
          "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
          "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
          "organizations_url": "https://api.github.com/users/Codertocat/orgs",
          "repos_url": "https://api.github.com/users/Codertocat/repos",
          "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
          "received_events_url": "https://api.github.com/users/Codertocat/received_events",
          "type": "User",
          "site_admin": false
        },
        "package_version": {
          "id": 24147,
          "version": "1.0.0",
          "summary": "A simple npm package to demonstrate GitHub Packages",
          "name": "sha256:3da1996a8115d7616457760d9920b815241d0a03b34cf5f04e9a0e9d8de37498",
          "description": "",
          "body": "# hello-world-npm\n\nThis is a simple npm package that demonstrates the [GitHub Packages](https://github.com/features/package).\n\n## Installation \n\n`$ npm install`\n\n## Usage\n\n```\nconst myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n```\n\n",
          "body_html": "<h1>hello-world-npm</h1>\n<p>This is a simple npm package that demonstrates the <a href=\"https://github.com/features/package\">GitHub Package Registry</a>.</p>\n<h2>Installation</h2>\n<p><code>$ npm install</code></p>\n<h2>Usage</h2>\n<pre><code>const myPackage = require('hello-world-node-package');\nmyPackage.helloWorld();\n</code></pre>",
          "release": {
            "url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases/17264286",
            "html_url": "https://github.com/Codertocat/hello-world-npm/releases/tag/1.0.0",
            "id": 17264286,
            "tag_name": "1.0.0",
            "target_commitish": "master",
            "name": "1.0.0",
            "draft": false,
            "author": {
              "login": "Codertocat",
              "id": 21031067,
              "node_id": "MDQ6VXNlcjIxMDMxMDY3",
              "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
              "gravatar_id": "",
              "url": "https://api.github.com/users/Codertocat",
              "html_url": "https://github.com/Codertocat",
              "followers_url": "https://api.github.com/users/Codertocat/followers",
              "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
              "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
              "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
              "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
              "organizations_url": "https://api.github.com/users/Codertocat/orgs",
              "repos_url": "https://api.github.com/users/Codertocat/repos",
              "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
              "received_events_url": "https://api.github.com/users/Codertocat/received_events",
              "type": "User",
              "site_admin": false
            },
            "prerelease": false,
            "created_at": "2019-05-09T23:24:40Z",
            "published_at": "2019-05-09T23:26:59Z"
          },
          "manifest": "{\"_from\":\"\",\"_id\":\"@codertocat/hello-world-npm@1.0.0\",\"_nodeVersion\":\"10.0.0\",\"_npmUser\":{},\"_npmVersion\":\"5.6.0\",\"_shasum\":\"\",\"author\":{\"name\":\"Codertocat\"},\"bugs\":{\"url\":\"https://github.com/Codertocat/hello-world-npm/issues\"},\"description\":\"A simple npm package to demonstrate GitHub Package Registry\",\"dependencies\":null,\"devDependencies\":null,\"peerDependencies\":null,\"dist\":{\"integrity\":\"sha512-CcChRwjJk+pvGVERbgdjc0w5h6HrOs6jK6OJuHmFcmbnGuhiy9tPMtb4WcSSdvwrktAxf96LsJBNqeIHAEHl3A==\",\"shasum\":\"a413c56a12997ca1b56715ebe81d8c6e0ffe6abb\",\"tarball\":\"http://npm.pkg.github.com/@codertocat/hello-world-npm/-/@codertocat/hello-world-npm-1.0.0.tgz\"},\"gitHead\":\"6c62fb45fe66bfb1ea9a66abc38f6a0cc974292b\",\"homepage\":\"https://github.com/Codertocat/hello-world-npm#readme\",\"license\":\"ISC\",\"main\":\"index.js\",\"name\":\"@codertocat/hello-world-npm\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/Codertocat/hello-world-npm.git\"},\"scripts\":{\"test\":\"echo \\\"Error: no test specified\\\" \\u0026\\u0026 exit 1\"},\"version\":\"1.0.0\"}",
          "html_url": "https://github.com/Codertocat/hello-world-npm/packages/10696?version=1.0.0",
          "tag_name": "1.0.0",
          "target_commitish": "master",
          "target_oid": "6c62fb45fe66bfb1ea9a66abc38f6a0cc974292b",
          "draft": false,
          "prerelease": false,
          "created_at": "2019-05-09T23:28:29Z",
          "updated_at": "2019-05-09T23:28:30Z",
          "metadata": [],
          "docker_metadata": [],
          "package_files": [
            {
              "download_url": "https://github-production-package-file-4f11e5.s3.amazonaws.com/185882436/3e6d9b00-7288-11e9-9d72-c0df4c711800?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE%2F20190509%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190509T232830Z&X-Amz-Expires=300&X-Amz-Signature=EXAMPLESIGNATURE&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=filename%3Dhello-world-npm-1.0.0-npm.tgz&response-content-type=application%2Foctet-stream",
              "id": 92167,
              "name": "hello-world-npm-1.0.0-npm.tgz",
              "sha256": "ba703915435b6ca2ca666b5d8332db34bf9dc37a198ed70d3a5fa5d08b8415c8",
              "sha1": "a413c56a12997ca1b56715ebe81d8c6e0ffe6abb",
              "md5": "56ebbd5a5a03367f62d0c732bafd3c66",
              "content_type": "application/octet-stream",
              "state": "uploaded",
              "size": 654,
              "created_at": "2019-05-09T23:28:30Z",
              "updated_at": "2019-05-09T23:28:30Z"
            }
          ],
          "author": {
            "login": "Codertocat",
            "id": 21031067,
            "node_id": "MDQ6VXNlcjIxMDMxMDY3",
            "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/Codertocat",
            "html_url": "https://github.com/Codertocat",
            "followers_url": "https://api.github.com/users/Codertocat/followers",
            "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
            "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
            "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
            "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
            "organizations_url": "https://api.github.com/users/Codertocat/orgs",
            "repos_url": "https://api.github.com/users/Codertocat/repos",
            "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
            "received_events_url": "https://api.github.com/users/Codertocat/received_events",
            "type": "User",
            "site_admin": false
          },
          "source_url": "ghcr.io/Codertocat/hello-world-npm/image-1:v1",
          "installation_command": "npm install @Codertocat/@1.0.0"
        },
        "registry": {
          "about_url": "https://help.github.com/about-github-packages",
          "name": "GitHub npm registry",
          "type": "npm",
          "url": "https://npm.pkg.github.com/@Codertocat",
          "vendor": "GitHub Inc"
        }
      },
      "repository": {
        "id": 185882436,
        "node_id": "MDEwOlJlcG9zaXRvcnkxODU4ODI0MzY=",
        "name": "hello-world-npm",
        "full_name": "Codertocat/hello-world-npm",
        "private": true,
        "owner": {
          "login": "Codertocat",
          "id": 21031067,
          "node_id": "MDQ6VXNlcjIxMDMxMDY3",
          "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/Codertocat",
          "html_url": "https://github.com/Codertocat",
          "followers_url": "https://api.github.com/users/Codertocat/followers",
          "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
          "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
          "organizations_url": "https://api.github.com/users/Codertocat/orgs",
          "repos_url": "https://api.github.com/users/Codertocat/repos",
          "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
          "received_events_url": "https://api.github.com/users/Codertocat/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/Codertocat/hello-world-npm",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/Codertocat/hello-world-npm",
        "forks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/forks",
        "keys_url": "https://api.github.com/repos/Codertocat/hello-world-npm/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/Codertocat/hello-world-npm/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/Codertocat/hello-world-npm/teams",
        "hooks_url": "https://api.github.com/repos/Codertocat/hello-world-npm/hooks",
        "issue_events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/events{/number}",
        "events_url": "https://api.github.com/repos/Codertocat/hello-world-npm/events",
        "assignees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/assignees{/user}",
        "branches_url": "https://api.github.com/repos/Codertocat/hello-world-npm/branches{/branch}",
        "tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/tags",
        "blobs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/Codertocat/hello-world-npm/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/Codertocat/hello-world-npm/languages",
        "stargazers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/stargazers",
        "contributors_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contributors",
        "subscribers_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscribers",
        "subscription_url": "https://api.github.com/repos/Codertocat/hello-world-npm/subscription",
        "commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/Codertocat/hello-world-npm/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/Codertocat/hello-world-npm/contents/{+path}",
        "compare_url": "https://api.github.com/repos/Codertocat/hello-world-npm/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/Codertocat/hello-world-npm/merges",
        "archive_url": "https://api.github.com/repos/Codertocat/hello-world-npm/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/Codertocat/hello-world-npm/downloads",
        "issues_url": "https://api.github.com/repos/Codertocat/hello-world-npm/issues{/number}",
        "pulls_url": "https://api.github.com/repos/Codertocat/hello-world-npm/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/Codertocat/hello-world-npm/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/Codertocat/hello-world-npm/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/Codertocat/hello-world-npm/labels{/name}",
        "releases_url": "https://api.github.com/repos/Codertocat/hello-world-npm/releases{/id}",
        "deployments_url": "https://api.github.com/repos/Codertocat/hello-world-npm/deployments",
        "created_at": "2019-05-09T22:53:26Z",
        "updated_at": "2019-05-09T23:24:42Z",
        "pushed_at": "2019-05-09T23:27:00Z",
        "git_url": "git://github.com/Codertocat/hello-world-npm.git",
        "ssh_url": "git@github.com:Codertocat/hello-world-npm.git",
        "clone_url": "https://github.com/Codertocat/hello-world-npm.git",
        "svn_url": "https://github.com/Codertocat/hello-world-npm",
        "homepage": null,
        "size": 0,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": "JavaScript",
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 0,
        "license": null,
        "forks": 0,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "master",
        "is_template": false,
        "topics": [],
        "visibility": "public",
        "web_commit_signoff_required": false,
        "custom_properties": {}
      },
      "sender": {
        "login": "Codertocat",
        "id": 21031067,
        "node_id": "MDQ6VXNlcjIxMDMxMDY3",
        "avatar_url": "https://avatars1.githubusercontent.com/u/21031067?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/Codertocat",
        "html_url": "https://github.com/Codertocat",
        "followers_url": "https://api.github.com/users/Codertocat/followers",
        "following_url": "https://api.github.com/users/Codertocat/following{/other_user}",
        "gists_url": "https://api.github.com/users/Codertocat/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/Codertocat/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/Codertocat/subscriptions",
        "organizations_url": "https://api.github.com/users/Codertocat/orgs",
        "repos_url": "https://api.github.com/users/Codertocat/repos",
        "events_url": "https://api.github.com/users/Codertocat/events{/privacy}",
        "received_events_url": "https://api.github.com/users/Codertocat/received_events",
        "type": "User",
        "site_admin": false
      }
    }
  }
}