GitHub · Capability

github-repos-api — Create

github-repos-api — Create. 29 operations. Lead operation: GitHub Create Check Run. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubCreate

What You Can Do

POST
Createcheckrun — GitHub Create Check Run
/v1/repos/{owner}/{repo}/check-runs
POST
Createchecksuite — GitHub Create Check Suite
/v1/repos/{owner}/{repo}/check-suites
POST
Createreactionforcommitcomment — GitHub Create Reaction for Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions
POST
Createcommitcomment — GitHub Create Commit Comment
/v1/repos/{owner}/{repo}/commits/{commit-sha}/comments
PUT
Createorupdatefilecontents — GitHub Create or Update File Contents
/v1/repos/{owner}/{repo}/contents/{path}
POST
Createsnapshotofdependenciesforrepository — GitHub Create Snapshot of Dependencies for Repository
/v1/repos/{owner}/{repo}/dependency-graph/snapshots
POST
Createdeployment — GitHub Create Deployment
/v1/repos/{owner}/{repo}/deployments
POST
Createdeploymentstatus — GitHub Create Deployment Status
/v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses
POST
Createrepositorydispatchevent — GitHub Create Repository Dispatch Event
/v1/repos/{owner}/{repo}/dispatches
PUT
Createorupdateanenvironment — GitHub Create or Update an Environment
/v1/repos/{owner}/{repo}/environments/{environment-name}
POST
Createdeploymentbranchpolicy — GitHub Create Deployment Branch Policy
/v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
PUT
Createorupdateanenvironmentsecret — GitHub Create or Update an Environment Secret
/v1/repos/{owner}/{repo}/environments/{environment-name}/secrets/{secret-name}
POST
Createanenvironmentvariable — GitHub Create an Environment Variable
/v1/repos/{owner}/{repo}/environments/{environment-name}/variables
POST
Createfork — GitHub Create Fork
/v1/repos/{owner}/{repo}/forks
POST
Createblob — GitHub Create Blob
/v1/repos/{owner}/{repo}/git/blobs
POST
Createcommit — GitHub Create Commit
/v1/repos/{owner}/{repo}/git/commits
POST
Createreference — GitHub Create Reference
/v1/repos/{owner}/{repo}/git/refs
POST
Createtagobject — GitHub Create Tag Object
/v1/repos/{owner}/{repo}/git/tags
POST
Createtree — GitHub Create Tree
/v1/repos/{owner}/{repo}/git/trees
POST
Createdeploykey — GitHub Create Deploy Key
/v1/repos/{owner}/{repo}/keys
POST
Createlabel — GitHub Create Label
/v1/repos/{owner}/{repo}/labels
POST
Createmilestone — GitHub Create Milestone
/v1/repos/{owner}/{repo}/milestones
POST
Creategithubenterpriseserverpagessite — GitHub Create Github Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
POST
Creategithubpagesdeployment — GitHub Create Github Pages Deployment
/v1/repos/{owner}/{repo}/pages/deployments
POST
Createrelease — GitHub Create Release
/v1/repos/{owner}/{repo}/releases
POST
Createreactionforrelease — GitHub Create Reaction for Release
/v1/repos/{owner}/{repo}/releases/{release-id}/reactions
POST
Createcommitstatus — GitHub Create Commit Status
/v1/repos/{owner}/{repo}/statuses/{sha}
POST
Createtagprotectionstateforrepository — GitHub Create Tag Protection State for Repository
/v1/repos/{owner}/{repo}/tags/protection
POST
Createrepositoryusingtemplate — GitHub Create Repository Using Template
/v1/repos/{template-owner}/{template-repo}/generate

MCP Tools

github-create-check-run

GitHub Create Check Run

read-only
github-create-check-suite

GitHub Create Check Suite

read-only
github-create-reaction-commit-comment

GitHub Create Reaction for Commit Comment

github-create-commit-comment

GitHub Create Commit Comment

github-create-update-file-contents

GitHub Create or Update File Contents

idempotent
github-create-snapshot-dependencies-repository

GitHub Create Snapshot of Dependencies for Repository

github-create-deployment

GitHub Create Deployment

github-create-deployment-status

GitHub Create Deployment Status

github-create-repository-dispatch-event

GitHub Create Repository Dispatch Event

github-create-update-environment

GitHub Create or Update an Environment

idempotent
github-create-deployment-branch-policy

GitHub Create Deployment Branch Policy

github-create-update-environment-secret

GitHub Create or Update an Environment Secret

idempotent
github-create-environment-variable

GitHub Create an Environment Variable

github-create-fork

GitHub Create Fork

github-create-blob

GitHub Create Blob

github-create-commit

GitHub Create Commit

github-create-reference

GitHub Create Reference

github-create-tag-object

GitHub Create Tag Object

github-create-tree

GitHub Create Tree

github-create-deploy-key

GitHub Create Deploy Key

github-create-label

GitHub Create Label

github-create-milestone

GitHub Create Milestone

github-create-github-enterprise-server

GitHub Create Github Enterprise Server Pages Site

github-create-github-pages-deployment

GitHub Create Github Pages Deployment

github-create-release

GitHub Create Release

github-create-reaction-release

GitHub Create Reaction for Release

github-create-commit-status

GitHub Create Commit Status

github-create-tag-protection-state

GitHub Create Tag Protection State for Repository

github-create-repository-using-template

GitHub Create Repository Using Template

Capability Spec

repo-tags-create.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repos-api — Create
  description: 'github-repos-api — Create. 29 operations. Lead operation: GitHub Create Check Run. Self-contained Naftiko
    capability covering one Github business surface.'
  tags:
  - Github
  - Create
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: repo-tags-create
    baseUri: ''
    description: github-repos-api — Create business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-check-runs
      path: /repos/{owner}/{repo}/check-runs
      operations:
      - name: createcheckrun
        method: POST
        description: GitHub Create Check Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-check-suites
      path: /repos/{owner}/{repo}/check-suites
      operations:
      - name: createchecksuite
        method: POST
        description: GitHub Create Check Suite
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/comments/{comment_id}/reactions
      operations:
      - name: createreactionforcommitcomment
        method: POST
        description: GitHub Create Reaction for Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-commits-commit_sha-comments
      path: /repos/{owner}/{repo}/commits/{commit_sha}/comments
      operations:
      - name: createcommitcomment
        method: POST
        description: GitHub Create Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-contents-path
      path: /repos/{owner}/{repo}/contents/{path}
      operations:
      - name: createorupdatefilecontents
        method: PUT
        description: GitHub Create or Update File Contents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: path
          in: path
          type: string
          description: path parameter
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-dependency-graph-snapshots
      path: /repos/{owner}/{repo}/dependency-graph/snapshots
      operations:
      - name: createsnapshotofdependenciesforrepository
        method: POST
        description: GitHub Create Snapshot of Dependencies for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-deployments
      path: /repos/{owner}/{repo}/deployments
      operations:
      - name: createdeployment
        method: POST
        description: GitHub Create Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-deployments-deployment_id-statuses
      path: /repos/{owner}/{repo}/deployments/{deployment_id}/statuses
      operations:
      - name: createdeploymentstatus
        method: POST
        description: GitHub Create Deployment Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-dispatches
      path: /repos/{owner}/{repo}/dispatches
      operations:
      - name: createrepositorydispatchevent
        method: POST
        description: GitHub Create Repository Dispatch Event
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-environments-environment_name
      path: /repos/{owner}/{repo}/environments/{environment_name}
      operations:
      - name: createorupdateanenvironment
        method: PUT
        description: GitHub Create or Update an Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-environments-environment_name-deployment-branch-policies
      path: /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies
      operations:
      - name: createdeploymentbranchpolicy
        method: POST
        description: GitHub Create Deployment Branch Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-environments-environment_name-secrets-secret_name
      path: /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}
      operations:
      - name: createorupdateanenvironmentsecret
        method: PUT
        description: GitHub Create or Update an Environment Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-environments-environment_name-variables
      path: /repos/{owner}/{repo}/environments/{environment_name}/variables
      operations:
      - name: createanenvironmentvariable
        method: POST
        description: GitHub Create an Environment Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-forks
      path: /repos/{owner}/{repo}/forks
      operations:
      - name: createfork
        method: POST
        description: GitHub Create Fork
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-git-blobs
      path: /repos/{owner}/{repo}/git/blobs
      operations:
      - name: createblob
        method: POST
        description: GitHub Create Blob
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-commits
      path: /repos/{owner}/{repo}/git/commits
      operations:
      - name: createcommit
        method: POST
        description: GitHub Create Commit
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-refs
      path: /repos/{owner}/{repo}/git/refs
      operations:
      - name: createreference
        method: POST
        description: GitHub Create Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-tags
      path: /repos/{owner}/{repo}/git/tags
      operations:
      - name: createtagobject
        method: POST
        description: GitHub Create Tag Object
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-git-trees
      path: /repos/{owner}/{repo}/git/trees
      operations:
      - name: createtree
        method: POST
        description: GitHub Create Tree
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-keys
      path: /repos/{owner}/{repo}/keys
      operations:
      - name: createdeploykey
        method: POST
        description: GitHub Create Deploy Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-labels
      path: /repos/{owner}/{repo}/labels
      operations:
      - name: createlabel
        method: POST
        description: GitHub Create Label
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-milestones
      path: /repos/{owner}/{repo}/milestones
      operations:
      - name: createmilestone
        method: POST
        description: GitHub Create Milestone
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-pages
      path: /repos/{owner}/{repo}/pages
      operations:
      - name: creategithubenterpriseserverpagessite
        method: POST
        description: GitHub Create Github Enterprise Server Pages Site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-pages-deployments
      path: /repos/{owner}/{repo}/pages/deployments
      operations:
      - name: creategithubpagesdeployment
        method: POST
        description: GitHub Create Github Pages Deployment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-releases
      path: /repos/{owner}/{repo}/releases
      operations:
      - name: createrelease
        method: POST
        description: GitHub Create Release
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-releases-release_id-reactions
      path: /repos/{owner}/{repo}/releases/{release_id}/reactions
      operations:
      - name: createreactionforrelease
        method: POST
        description: GitHub Create Reaction for Release
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-statuses-sha
      path: /repos/{owner}/{repo}/statuses/{sha}
      operations:
      - name: createcommitstatus
        method: POST
        description: GitHub Create Commit Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sha
          in: path
          type: string
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-tags-protection
      path: /repos/{owner}/{repo}/tags/protection
      operations:
      - name: createtagprotectionstateforrepository
        method: POST
        description: GitHub Create Tag Protection State for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-template_owner-template_repo-generate
      path: /repos/{template_owner}/{template_repo}/generate
      operations:
      - name: createrepositoryusingtemplate
        method: POST
        description: GitHub Create Repository Using Template
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: template_owner
          in: path
          type: string
          description: The account owner of the template repository. The name is not case sensitive.
          required: true
        - name: template_repo
          in: path
          type: string
          description: The name of the template repository without the `.git` extension. The name is not case sensitive.
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: repo-tags-create-rest
    port: 8080
    description: REST adapter for github-repos-api — Create. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/check-runs
      name: repos-owner-repo-check-runs
      description: REST surface for repos-owner-repo-check-runs.
      operations:
      - method: POST
        name: createcheckrun
        description: GitHub Create Check Run
        call: repo-tags-create.createcheckrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/check-suites
      name: repos-owner-repo-check-suites
      description: REST surface for repos-owner-repo-check-suites.
      operations:
      - method: POST
        name: createchecksuite
        description: GitHub Create Check Suite
        call: repo-tags-create.createchecksuite
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/comments/{comment-id}/reactions
      name: repos-owner-repo-comments-comment-id-reactions
      description: REST surface for repos-owner-repo-comments-comment_id-reactions.
      operations:
      - method: POST
        name: createreactionforcommitcomment
        description: GitHub Create Reaction for Commit Comment
        call: repo-tags-create.createreactionforcommitcomment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/commits/{commit-sha}/comments
      name: repos-owner-repo-commits-commit-sha-comments
      description: REST surface for repos-owner-repo-commits-commit_sha-comments.
      operations:
      - method: POST
        name: createcommitcomment
        description: GitHub Create Commit Comment
        call: repo-tags-create.createcommitcomment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/contents/{path}
      name: repos-owner-repo-contents-path
      description: REST surface for repos-owner-repo-contents-path.
      operations:
      - method: PUT
        name: createorupdatefilecontents
        description: GitHub Create or Update File Contents
        call: repo-tags-create.createorupdatefilecontents
        with:
          path: rest.path
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/dependency-graph/snapshots
      name: repos-owner-repo-dependency-graph-snapshots
      description: REST surface for repos-owner-repo-dependency-graph-snapshots.
      operations:
      - method: POST
        name: createsnapshotofdependenciesforrepository
        description: GitHub Create Snapshot of Dependencies for Repository
        call: repo-tags-create.createsnapshotofdependenciesforrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/deployments
      name: repos-owner-repo-deployments
      description: REST surface for repos-owner-repo-deployments.
      operations:
      - method: POST
        name: createdeployment
        description: GitHub Create Deployment
        call: repo-tags-create.createdeployment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses
      name: repos-owner-repo-deployments-deployment-id-statuses
      description: REST surface for repos-owner-repo-deployments-deployment_id-statuses.
      operations:
      - method: POST
        name: createdeploymentstatus
        description: GitHub Create Deployment Status
        call: repo-tags-create.createdeploymentstatus
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/dispatches
      name: repos-owner-repo-dispatches
      description: REST surface for repos-owner-repo-dispatches.
      operations:
      - method: POST
        name: createrepositorydispatchevent
        description: GitHub Create Repository Dispatch Event
        call: repo-tags-create.createrepositorydispatchevent
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/environments/{environment-name}
      name: repos-owner-repo-environments-environment-name
      description: REST surface for repos-owner-repo-environments-environment_name.
      operations:
      - method: PUT
        name: createorupdateanenvironment
        description: GitHub Create or Update an Environment
        call: repo-tags-create.createorupdateanenvironment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/environments/{environment-name}/deployment-branch-policies
      name: repos-owner-repo-environments-environment-name-deployment-branch-policies
      description: REST surface for repos-owner-repo-environments-environment_name-deployment-branch-policies.
      operations:
      - method: POST
        name: createdeploymentbranchpolicy
        description: GitHub Create Deployment Branch Policy
        call: repo-tags-create.createdeploymentbranchpolicy
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/environments/{environment-name}/secrets/{secret-name}
      name: repos-owner-repo-environments-environment-name-secrets-secret-name
      description: REST surface for repos-owner-repo-environments-environment_name-secrets-secret_name.
      operations:
      - method: PUT
        name: createorupdateanenvironmentsecret
        description: GitHub Create or Update an Environment Secret
        call: repo-tags-create.createorupdateanenvironmentsecret
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/environments/{environment-name}/variables
      name: repos-owner-repo-environments-environment-name-variables
      description: REST surface for repos-owner-repo-environments-environment_name-variables.
      operations:
      - method: POST
        name: createanenvironmentvariable
        description: GitHub Create an Environment Variable
        call: repo-tags-create.createanenvironmentvariable
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/forks
      name: repos-owner-repo-forks
      description: REST surface for repos-owner-repo-forks.
      operations:
      - method: POST
        name: createfork
        description: GitHub Create Fork
        call: repo-tags-create.createfork
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/blobs
      name: repos-owner-repo-git-blobs
      description: REST surface for repos-owner-repo-git-blobs.
      operations:
      - method: POST
        name: createblob
        description: GitHub Create Blob
        call: repo-tags-create.createblob
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/git/commits
      name: repos-owner-repo-git-commits
      description: REST surface for repos-owner-repo-git-commits.
      operations:
      - method: POST
        name: createcommit
        description: GitHub Create Commit
        call: repo-tags-create.createcommit
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/g

# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/repo-tags-create.yaml