---
title: "POST /workflows/github/release"
method: POST
path: "/workflows/github/release"
tags: ["workflows"]
---

# POST /workflows/github/release

`POST /workflows/github/release`

Handle a push event on GitHub. Will create a workflow/service and version when necessary.

## Headers

- `X-GitHub-Delivery` string, required

## Request body

- PushPayload — A model for a GitHub webhook push event
  - `installation` Installation, required — The GitHub App installation
    - `id` integer, required — The installation ID
  - `repository` WebhookRepository, required — The repository where the GitHub webhook event occurred
    - `full_name` string, required — Full name of the GitHub repository
  - `sender` Sender, required — The user that triggered the event
    - `login` string, required — GitHub username of the sender of the GitHub webhook event
  - `after` string — The SHA of the most recent commit on ref after the push
  - `commits` GitCommit[] — An array of commit objects describing the pushed commits
    - `author` GitHubUser
      - `email` string
      - `name` string
      - `username` string
    - `committer` GitHubUser
      - `email` string
      - `name` string
      - `username` string
  - `head_commit` GitCommit — Information about a commit on a GitHub push event. See https://docs.github.com/en/webhooks/webhook-events-and-payloads#push, under commits and head_commit
    - `author` GitHubUser
      - `email` string
      - `name` string
      - `username` string
    - `committer` GitHubUser
      - `email` string
      - `name` string
      - `username` string
  - `ref` string, required — The full git ref that was pushed

## Response `default`

default response

---

[API](https://skmtc.net/dockstore/apis/dockstore-api.md) · [All operations](https://skmtc.net/dockstore/apis/dockstore-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dockstore/dockstore-api/versions/9d82a4e96aa7/schema)
