Skip to content

Fix error#245

Merged
ZhengTiger merged 2 commits intoopenbiox:mainfrom
ZhengTiger:main
Jan 7, 2026
Merged

Fix error#245
ZhengTiger merged 2 commits intoopenbiox:mainfrom
ZhengTiger:main

Conversation

@ZhengTiger
Copy link
Copy Markdown
Collaborator

No description provided.

@ShixiangWang
Copy link
Copy Markdown
Member

preview action没通过是提交意见那个步骤权限有点问题,应该是 fork 的仓库提交 pr 没有针对这个 pr 的权限。

RequestError [HttpError]: Resource not accessible by integration
    at /home/runner/work/_actions/actions/github-script/v7/dist/index.js:9537:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 403,
  response: {
    url: 'https://api.github.com/repos/openbiox/Bizard/issues/245/comments',
    status: 403,
    headers: {
      'access-control-allow-origin': '*',
      'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
      'content-encoding': 'gzip',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Wed, 07 Jan 2026 03:41:06 GMT',
      'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
      server: 'github.com',
      'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
      'transfer-encoding': 'chunked',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-accepted-github-permissions': 'issues=write; pull_requests=write',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'deny',
      'x-github-api-version-selected': '2022-11-28',
      'x-github-media-type': 'github.v3; format=json',
      'x-github-request-id': '6BC0:27BC22:1E122A6:84A3ED7:695DD5D2',
      'x-ratelimit-limit': '5000',
      'x-ratelimit-remaining': '4995',
      'x-ratelimit-reset': '1767760388',
      'x-ratelimit-resource': 'core',
      'x-ratelimit-used': '5',
      'x-xss-protection': '0'
    },
    data: {
      message: 'Resource not accessible by integration',
      documentation_url: 'https://docs.github.com/rest/issues/comments#create-an-issue-comment',
      status: '403'
    }
  },
  request: {
    method: 'POST',
    url: 'https://api.github.com/repos/openbiox/Bizard/issues/245/comments',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'actions/github-script octokit-core.js/5.0.1 Node.js/20.19.5 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"body":"## 📊 Quarto Render Preview\\n\\nThe new or modified Quarto files have been rendered and are available as artifacts.\\n\\n**🔗 [View and Download Rendered Files](https://github.com/openbiox/Bizard/actions/runs/20769678170)**\\n\\nClick the link above, scroll to the \\"Artifacts\\" section at the bottom of the page, and download `quarto-rendered-files` to preview the rendered HTML files.\\n\\n**Modified files:**\\n```\\nOmics/MotifPlot.qmd Omics/MotifPlot.zh.qmd Omics/TextEnrichmentBarPlot.qmd Omics/TextEnrichmentBarPlot.zh.qmd\\n```\\n"}',
    request: {
      agent: [Agent],
      fetch: [Function: proxyFetch],
      hook: [Function: bound bound register]
    }
  }
}

@ShixiangWang
Copy link
Copy Markdown
Member

@ZhengTiger action 的 error 可以不用管,内容正确生成了就行可以合并哈

@ZhengTiger ZhengTiger merged commit 85252dc into openbiox:main Jan 7, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants