Skip to content

Implement CORS

Implement CORS #46

Triggered via pull request October 30, 2023 23:11
Status Success
Total duration 14s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
6s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '6699790478', status: 422, response: { url: 'https://api.github.com/repos/pinax-network/substreams-clock-api/releases/126083079', 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', connection: 'close', 'content-length': '195', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Mon, 30 Oct 2023 23:11:26 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': '2086:176E:8D27362:121307CF:6540381E', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14995', 'x-ratelimit-reset': '1698711084', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '5', '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' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/pinax-network/substreams-clock-api/releases/126083079', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changes\\n- Update queries.ts @DenisCarriere (#44)\\n- Add Clickhouse Operators @DenisCarriere (#43)\\n\\n## ✨ Features\\n\\n- Replace `fetch` with `query` from Clickhouse Web Client @Krow10 (#39)\\n\\n## 🐛 Bug Fixes\\n\\n- Fix `undefined` errors when no final block is found in DB @Krow10 (#38)\\n\\n## 📝 Documentation\\n\\n- Add prometheus metrics @DenisCarriere (#41)\\n- Refactor to use Native bun \\\\& manual OpenAPI, update `/block` route @DenisCarriere (#40)\\n- Improve Swagger UI experience @Krow10 (#37)\\n\\n## 🔧 Operations\\n\\n- Add `documentation` tag for `docs/*` branches @Krow10 (#35)\\n\\n**Full Changelog**: https://github.com/pinax-network/substreams-clock-api/compare/v1.3.0...v1.3.1\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v1.3.1","tag_name":"v1.3.1","target_commitish":"refs/pull/46/merge"}', request: {} }, event: { id: '6699790478', name: 'pull_request', payload: { action: 'opened', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/29354?v=4', created_at: '2023-04-13T13:22:16Z', description: 'Unleashing the power of blockchain data', html_url: 'https://github.com/enterprises/pinax', id: 29354, name: 'Pinax', node_id: 'E_kgDNcqo', slug: 'pinax', updated_at: '2023-10-01T16:54:50Z', website_url: 'https://pinax.network' }, number: 46, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/101574642?v=4', description: 'Unleashing the power of blockchain data', events_url: 'https://api.github.com/orgs/pinax-network/events', hooks_url: 'https://api.github.com/orgs/pinax-network/hooks',
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '6699790478', name: 'pull_request', payload: { action: 'opened', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/29354?v=4', created_at: '2023-04-13T13:22:16Z', description: 'Unleashing the power of blockchain data', html_url: 'https://github.com/enterprises/pinax', id: 29354, name: 'Pinax', node_id: 'E_kgDNcqo', slug: 'pinax', updated_at: '2023-10-01T16:54:50Z', website_url: 'https://pinax.network' }, number: 46, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/101574642?v=4', description: 'Unleashing the power of blockchain data', events_url: 'https://api.github.com/orgs/pinax-network/events', hooks_url: 'https://api.github.com/orgs/pinax-network/hooks', id: 101574642, issues_url: 'https://api.github.com/orgs/pinax-network/issues', login: 'pinax-network', members_url: 'https://api.github.com/orgs/pinax-network/members{/member}', node_id: 'O_kgDOBg3n8g', public_members_url: 'https://api.github.com/orgs/pinax-network/public_members{/member}', repos_url: 'https://api.github.com/orgs/pinax-network/repos', url: 'https://api.github.com/orgs/pinax-network' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/pinax-network/substreams-clock-api/issues/46/comments' }, commits: { href: 'https://api.github.com/repos/pinax-network/substreams-clock-api/pulls/46/commits' }, html: { href: 'https://github.com/pinax-network/substreams-clock-api/pull/46' }, issue: { href: 'https://api.github.com/repos/pinax-network/substreams-clock-api/issues/46' }, review_comment: { href: 'https://api.github.com/repos/pinax-network/substreams-clock-api/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/pinax-network/substreams-clock-api/pulls/46/comments' }, self: { href: 'https://api.github.com/repos/pinax-network/substreams-clock-api/pulls/46' }, statuses: { href: 'https://api.github.com/repos/pinax-network/substreams-clock-api/statuses/2d73ce26088eea793caaf3036fcfa27255f792c9' } }, active_lock_reason: null, additions: 62, assignee: null, assignees: [], author_association: 'CONTRIBUTOR', auto_merge: null, base: { label: 'pinax-network:main', ref: 'main', repo: { allow_auto_merge: false, allow_forking: false, allow_merge_commit: false, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/pinax-network/substreams-clock-api/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/pinax-network/substreams-clock-api/assignees{/user}', blobs_url: 'https://api.github.com/repos/pinax-network/substreams-clock-api/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/pinax-network/substreams-clock-api/branches{/branch}', clone_url: 'https://github.com/pinax-network/substreams-clock-api.git', collaborators_url: 'https://api.github.com/repos/pinax-network/substreams-clock-api/collaborators{/collaborator}',