Skip to content

GitHub 节点(GitHub node)#

使用 GitHub 节点来自动化 GitHub 中的工作,并将 GitHub 与其他应用集成。n8n 内置支持广泛的 GitHub 功能,包括创建、更新、删除和编辑文件、仓库、问题、版本发布和用户。

🌐 Use the GitHub node to automate work in GitHub, and integrate GitHub with other applications. n8n has built-in support for a wide range of GitHub features, including creating, updating, deleting, and editing files, repositories, issues, releases, and users.

本页列出了 GitHub 节点支持的操作列表以及更多资源的链接。

🌐 On this page, you'll find a list of operations the GitHub node supports and links to more resources.

凭证

请参阅 GitHub 凭据 以了解有关设置身份验证的指南。

This node can be used as an AI tool

This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.

操作(Operations)#

  • 文件
    • 创建
    • 删除
    • 编辑
    • 获取
    • 列表
  • 问题
    • 创建
    • 创建评论
    • 编辑
    • 获取
    • 锁定
  • 组织
    • 获取代码仓库
  • 发布
    • 创建
    • 删除
    • 获取
    • 获取多个
    • 更新
  • 存储库
    • 获取
    • 获取问题
    • 获取许可证
    • 获取个人资料
    • 获取拉取请求
    • 列表热门路径
    • 列表引荐来源
  • 审核
    • 创建
    • 获取
    • 获取多个
    • 更新
  • 用户
    • 获取代码仓库
    • 邀请
  • 工作流
    • 禁用
    • 分发
    • 启用
    • 获取
    • 获取使用情况
    • 列表

模板和示例(Templates and examples)#

Template widget placeholder.

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.