Fix retrieve_indexes_from_table when indexes is empty and base table … #29
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
release-drafter.yml
on: push
update_release_draft
5s
Annotations
2 errors
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '4558425495',
status: 403,
response: {
url: 'https://api.github.com/repos/ctran/annotate_models/releases',
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',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 29 Mar 2023 22:09:30 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-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': 'AFC4:2E70:A1BD86:A66F50:6424B71A',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '973',
'x-ratelimit-reset': '1680130160',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '27',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/ctran/annotate_models/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.16.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"refs/heads/develop","name":"","tag_name":"","body":"## What's Changed\\n\\n* Fix retrieve_indexes_from_table when indexes is empty and base table does not exist (#849) @jjowdy\\n* Add support for annotating check constraints (#868) @lovro-bikic\\n* Fix flaky specs (#980) @lovro-bikic\\n* Make specs run in random order (#787) @drwl\\n* Get CI to a working state (#959) @drwl\\n","draft":true,"prerelease":false}`,
request: {}
},
event: {
id: '4558425495',
name: 'push',
payload: {
after: 'a28fef34d99395cac44ec11cd7922e018d9a28f9',
base_ref: null,
before: '13b532d92bd76ab5c3292a27f366ec9cb7f490e6',
commits: [
{
author: {
email: 'jjowdy@gmail.com',
name: 'Jim Jowdy',
username: 'jjowdy'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'a28fef34d99395cac44ec11cd7922e018d9a28f9',
message: 'Fix retrieve_indexes_from_table when indexes is empty and base table does not exist. (#849)\n' +
'\n' +
'Some tables may have a table_name_prefix but no indexes. Previous versions of\r\n' +
'the code would strip the prefix and look for indexes on the resulting table \r\n' +
'which likely would not exist. This causes DB errors, at least in MySQL. So now\r\n' +
'check if the new table exists first before trying to show its indexes.',
timestamp: '2023-03-29T15:09:11-07:00',
tree_id: 'af4d49b2c30ddb28b9745dbd8946b0ba7c8549f5',
url: 'https://github.com/ctran/annotate_models/commit/a28fef34d99395cac44ec11cd7922e018d9a28f9'
}
],
compare: 'https://github.com/ctran/annotate_models/compare/13b532d92bd7...a28fef34d993',
created: false,
deleted: false,
forced: false,
head_commit: {
autho
|
update_release_draft
HttpError: Resource not accessible by integration
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: '4558425495',
name: 'push',
payload: {
after: 'a28fef34d99395cac44ec11cd7922e018d9a28f9',
base_ref: null,
before: '13b532d92bd76ab5c3292a27f366ec9cb7f490e6',
commits: [
{
author: {
email: 'jjowdy@gmail.com',
name: 'Jim Jowdy',
username: 'jjowdy'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'a28fef34d99395cac44ec11cd7922e018d9a28f9',
message: 'Fix retrieve_indexes_from_table when indexes is empty and base table does not exist. (#849)\n' +
'\n' +
'Some tables may have a table_name_prefix but no indexes. Previous versions of\r\n' +
'the code would strip the prefix and look for indexes on the resulting table \r\n' +
'which likely would not exist. This causes DB errors, at least in MySQL. So now\r\n' +
'check if the new table exists first before trying to show its indexes.',
timestamp: '2023-03-29T15:09:11-07:00',
tree_id: 'af4d49b2c30ddb28b9745dbd8946b0ba7c8549f5',
url: 'https://github.com/ctran/annotate_models/commit/a28fef34d99395cac44ec11cd7922e018d9a28f9'
}
],
compare: 'https://github.com/ctran/annotate_models/compare/13b532d92bd7...a28fef34d993',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: 'jjowdy@gmail.com',
name: 'Jim Jowdy',
username: 'jjowdy'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: 'a28fef34d99395cac44ec11cd7922e018d9a28f9',
message: 'Fix retrieve_indexes_from_table when indexes is empty and base table does not exist. (#849)\n' +
'\n' +
'Some tables may have a table_name_prefix but no indexes. Previous versions of\r\n' +
'the code would strip the prefix and look for indexes on the resulting table \r\n' +
'which likely would not exist. This causes DB errors, at least in MySQL. So now\r\n' +
'check if the new table exists first before trying to show its indexes.',
timestamp: '2023-03-29T15:09:11-07:00',
tree_id: 'af4d49b2c30ddb28b9745dbd8946b0ba7c8549f5',
url: 'https://github.com/ctran/annotate_models/commit/a28fef34d99395cac44ec11cd7922e018d9a28f9'
},
pusher: { email: 'ctran@users.noreply.github.com', name: 'ctran' },
ref: 'refs/heads/develop',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/ctran/annotate_models/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ctran/annotate_models/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ctran/annotate_models/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ctran/annotate_models/branches{/branch}',
clone_url: 'https://github.com/ctran/annotate_models.git',
collaborators_url: 'https://api.github.com/repos/ctran/annotate_models/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ctran/annotate_models/comments{/number}',
commits_url: 'https://api.github.com/repos/ctran/annotate_models/commits{/sha}',
compare_url: 'https://api.github.com/repos/ctran/annotate_models/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/ctran/annotate_models/contents/{+path}',
contributors_url: 'https://api.g
|