Github App

266 阅读1分钟

github app可以增加或扩展项目的工作流,实现自定义的持续集成部署。

注册新App

路径:githhub用户 - settings - Developer settings - Github apps - new github app

Register new GitHub App

填写基本信息

  • Github APP name: 应用名称
  • Homepage URL: 应用主页

Identifying and authorizing users

安装时需要授权时的重定向地址

Post installation

安装后操作

Webhook

hook某些事件

Repository Permissions

设置git仓库权限

  • Actions
  • Administration
  • Checks:Read & Write
  • Pull requests:Read & write
  • Commit statuses:Read-only

Organization Permissions

设置组织权限

  • Members:Read-only
  • Projects:Read-only

User Permissions

设置用户权限

  • Email addresses:Read-only

Subscribe to events

订阅某些事件

where can this GitHub App Be installed?

那些地方可以安装app

  • Any Account:选中

通用App信息

About

app基本信息

Client secrets

创建client secret

Basic information

Private keys

创建私钥,内容在下载的pem中

安装App

Repository access

  • Only select repositories