Fix Jupyter Book logo paths in documentation configuration #1577
release-drafter.yml
on: pull_request
update_release_draft
11s
require_label
4s
Annotations
2 errors and 4 warnings
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:61885:18)
{
name: 'AggregateError',
event: {
id: '17826373623',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: "Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.\n" +
'\n' +
'Original issue description:\n' +
'\n' +
'> **Describe the bug**\n' +
'> For example in https://github.com/gdsfactory/gplugins/actions/runs/17824958480/job/50675881265, we get the following error when trying to build the docs:\n' +
'> \n' +
'> ```log\n' +
'> ===============================================================================\n' +
'> \n' +
'> There was an error in building your book. Look above for the cause.\n' +
'> \n' +
'> ===============================================================================\n' +
'> \n' +
'> Path to light image logo does not exist: logo_black_lettering.png\n' +
'> Path to dark image logo does not exist: logo_white_lettering.png\n' +
'> Error: Process completed with exit code 1.\n' +
'> ```\n' +
'> \n' +
'> **To Reproduce**\n' +
'> Run\n' +
'> ```bash\n' +
'> make docs\n' +
'> ```\n' +
'> \n' +
'> ## Tasks\n' +
'> * Fix the paths to `logo_black_lettering.png` and `logo_white_lettering.png` such that jupyter book succeeds.\n' +
'\n' +
'\n' +
'Fixes #649.\n' +
'\n' +
'<!-- START COPILOT CODING AGENT TIPS -->\n' +
'---\n' +
'\n' +
'✨ Let Copilot coding agent [set things up for you](https://github.com/gdsfactory/gplugins/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo.\n'
}
},
number: 650,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/62686678?v=4',
description: '',
events_url: 'https://api.github.com/orgs/gdsfactory/events',
hooks_url: 'https://api.github.com/orgs/gdsfactory/hooks',
id: 62686678,
issues_url: 'https://api.github.com/orgs/gdsfactory/issues',
login: 'gdsfactory',
members_url: 'https://api.github.com/orgs/gdsfactory/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYyNjg2Njc4',
public_members_url: 'https://api.github.com/orgs/gdsfactory/public_members{/member}',
repos_url: 'https://api.github.com/orgs/gdsfactory/repos',
url: 'https://api.github.com/orgs/gdsfactory'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/gdsfactory/gplugins/issues/650/comments'
},
commits: {
href: 'https://api.github.com/repos/gdsfactory/gplugins/pulls/650/commits'
},
html: { href: 'https://github.com/gdsfactory/gplugins/pull/650' },
issue: {
href: 'https://api.github.com/repos/gdsfactory/gplugins/issues/650'
},
review_comment: {
href: 'https://api.github.com/repos/gdsfactory/gplugins/pulls/comments{/number}'
},
|
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '17826373623',
status: 422,
response: {
url: 'https://api.github.com/repos/gdsfactory/gplugins/releases/239824592',
status: 422,
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-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Thu, 18 Sep 2025 10:53:46 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=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': '4C11:C9440:28859ED:91DBC95:68CBE4BA',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4978',
'x-ratelimit-reset': '1758196388',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '22',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/gdsfactory/gplugins/releases/239824592',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.4 (linux; x64)',
'x-github-delivery': '17826373623',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"body":"# What's Changed\\n\\n## Bug Fixes\\n\\n- Run pre-commit hooks [#648](https://github.com/gdsfactory/gplugins/pull/648)\\n- Fix vlsir tests for newer gdsfactory [#646](https://github.com/gdsfactory/gplugins/pull/646)\\n- Replace non-existent Palace Docker image with Apptainer-based CI setup [#643](https://github.com/gdsfactory/gplugins/pull/643)\\n- Add palace in github actions, fix palace electrostatics simulation. [#631](https://github.com/gdsfactory/gplugins/pull/631)\\n- better error message for gc sim [#638](https://github.com/gdsfactory/gplugins/pull/638)\\n\\n## Maintenance\\n\\n- Bump actions/upload-pages-artifact from 3 to 4 [#636](https://github.com/gdsfactory/gplugins/pull/636)\\n- Bump actions/checkout from 4 to 5 [#637](https://github.com/gdsfactory/gplugins/pull/637)\\n\\n## Documentation\\n\\n- Run pre-commit hooks [#648](https://github.com/gdsfactory/gplugins/pull/648)\\n- Update logos [#628](https://github.com/gdsfactory/gplugins/pull/628)\\n\\n## Dependency Updates\\n\\n- Bump actions/upload-pages-artifact from 3 to 4 [#636](https://github.com/gdsfactory/gplugins/pull/636)\\n- Bump actions/checkout from 4 to 5 [#637](https://github.com/gdsfactory/gplugins/pull/637)\\n- bump sax to 0.15.14 [#627](https://github.com/gdsfactory/gplugins/pull/627)\\n\\n**Full Changelog**: https://github.com/gdsfactory/gplugins/compare/v1.4.2...v2.0.0\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v2.0.0","tag_name":"v2.0.0","target_commitish":"refs/pull/650/merge"}`,
request: {}
},
event: {
id: '17826373623',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: "Thanks for assigning this issue to me. I'm starting to work on it a
|
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|