mirror of
https://github.com/ReCloudStudio/WebHooker.git
synced 2026-09-23 00:21:28 +00:00
fix(docs): full repo permissions in github app settings
This commit is contained in:
parent
cd591d658a
commit
e343885272
2 changed files with 3 additions and 3 deletions
|
|
@ -77,7 +77,7 @@ Your worker is now live at `https://webhooker.<your-subdomain>.workers.dev`.
|
||||||
- **Webhook URL**: `https://your-domain/webhook`
|
- **Webhook URL**: `https://your-domain/webhook`
|
||||||
- **Webhook secret**: generate and copy to `GITHUB_WEBHOOK_SECRET`
|
- **Webhook secret**: generate and copy to `GITHUB_WEBHOOK_SECRET`
|
||||||
3. Set permissions:
|
3. Set permissions:
|
||||||
- **Repository permissions**: Contents (read), Issues (write), Pull requests (write), Metadata (read)
|
- **Repository permissions**: Contents (read), Issues (write), Pull requests (write), Metadata (read), Checks (read), Deployments (read), Discussions (read), Code scanning alerts (read), Dependabot alerts (read)
|
||||||
- **Organization permissions**: Members (read) — if needed
|
- **Organization permissions**: Members (read) — if needed
|
||||||
4. Subscribe to events (all 23 supported):
|
4. Subscribe to events (all 23 supported):
|
||||||
- Push, Pull request, Issues, Issue comment, Workflow run, Release, Create, Delete, Star, Fork, Check run, Pull request review, Pull request review comment, Commit comment, Deployment status, Member, Label, Milestone, Discussion, Discussion comment, Repository, Code scanning alert, Dependabot alert
|
- Push, Pull request, Issues, Issue comment, Workflow run, Release, Create, Delete, Star, Fork, Check run, Pull request review, Pull request review comment, Commit comment, Deployment status, Member, Label, Milestone, Discussion, Discussion comment, Repository, Code scanning alert, Dependabot alert
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ Worker 现在可通过 `https://webhooker.<your-subdomain>.workers.dev` 访问
|
||||||
- **Webhook URL**: `https://your-domain/webhook`
|
- **Webhook URL**: `https://your-domain/webhook`
|
||||||
- **Webhook secret**: 生成并复制到 `GITHUB_WEBHOOK_SECRET`
|
- **Webhook secret**: 生成并复制到 `GITHUB_WEBHOOK_SECRET`
|
||||||
3. 设置权限:
|
3. 设置权限:
|
||||||
- **Repository permissions**: Contents (read)、Issues (write)、Pull requests (write)、Metadata (read)
|
- **Repository permissions**: Contents (read)、Issues (write)、Pull requests (write)、Metadata (read)、Checks (read)、Deployments (read)、Discussions (read)、Code scanning alerts (read)、Dependabot alerts (read)
|
||||||
- **Organization permissions**: Members (read) —— 如果需要
|
- **Organization permissions**: Members (read) —— 如果需要
|
||||||
4. 订阅事件(全部 23 种支持的事件):
|
4. 订阅事件(全部 23 种支持的事件):
|
||||||
- Push、Pull request、Issues、Issue comment、Workflow run、Release、Create、Delete、Star、Fork、Check run、Pull request review、Pull request review comment、Commit comment、Deployment status、Member、Label、Milestone、Discussion、Discussion comment、Repository、Code scanning alert、Dependabot alert
|
- Push、Pull request、Issues、Issue comment、Workflow run、Release、Create、Delete、Star、Fork、Check run、Pull request review、Pull request review comment、Commit comment、Deployment status、Member、Label、Milestone、Discussion、Discussion comment、Repository、Code scanning alert、Dependabot alert
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue