Github Actions version doesn't seem to have enough permission to comment by default? Suggestions?
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- github-actions, javascript
- 领域
- ci-cd
调研方向
从链接的 workflow 运行以及 action/index.cjs 中的失败位置开始,然后检查显示的 token 环境和 GitHub 评论 endpoint。完成的标准是:已确定该 action 支持的身份验证和权限要求,并且能够在不出现 403 错误的情况下验证报告的评论请求。
由索引模型根据 Issue 内容生成。
描述
I tried to switch from GitHub Apps version to GitHub Actions version, but it seems default GITHUB_TOKEN won't have enough permission to comment, not sure if using a PAT would be a good idea, anyone got the same issue and how do you deal with it? Thanks!
https://github.com/transmission-remote-gui/transgui/actions/runs/5038925037/jobs/9036731668?pr=1302
env:
GITHUB_TOKEN: ***
OPENAI_API_KEY:
MODEL: gpt-4
top_p: 1
temperature: 0.2
Error: Resource not accessible by integration
{
name: 'event',
id: '5038925037',
err: {
type: 'RequestError',
message: 'Resource not accessible by integration',
stack: 'HttpError: Resource not accessible by integration\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:4070:21\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34389:18)',
name: 'HttpError',
status: 403,
response: {
url: 'https://api.github.com/repos/transmission-remote-gui/transgui/issues/1302/comments',
- 主要语言
- JavaScript
- 星标
- 4.5k
- 派生
- 466
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
anc95/ChatGPT-CodeReview 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
anc95/ChatGPT-CodeReview#76 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 22/100
anc95/ChatGPT-CodeReview#218 ·
-
Include/ignore patterns are matched against the GitHub API URL instead of the repository-relative path可能已有人在做 @strawberry-little-bear 于 8 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 25/100
anc95/ChatGPT-CodeReview#215 ·
-
难度 4/5 3-5 天 新手友好度 45/100
anc95/ChatGPT-CodeReview#208 ·
-
难度 3/5 1-2 天 新手友好度 35/100
anc95/ChatGPT-CodeReview#203 · 2 条评论 · 1 个 reaction ·
查看 anc95/ChatGPT-CodeReview 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
solana-foundation/solana-web3.js#4015 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
gramps-project/gramps-web#1604 ·
维护者通常 1 天内回复
-
enhancement good first issue hacktoberfest help wanted
难度 2/5 1-3 小时 新手友好度 85/100
BinaryBaconLabs/todo-app#18 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 66/100
sutantyo/flight-watch#32 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复