Improving code efficiency by errors from cppcheck #1998
Annotations
2 errors
Resource not accessible by integration
{
name: 'HttpError',
id: '6511116283',
status: 403,
response: {
url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/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: 'Fri, 13 Oct 2023 18:12:56 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': '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': 'A442:4ABA:2E0C11:5E09D8:652988A8',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '991',
'x-ratelimit-reset': '1697224342',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '9',
'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/OpenChemistry/avogadrolibs/releases',
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: '{"target_commitish":"refs/pull/1369/merge","name":"Avogadro 1.98.0","tag_name":"1.98.0","body":"## Changes\\n\\n- Translations update from Hosted Weblate @weblate (#1366)\\n- Corrects clang-tidy warnings from atomutilities cpp file @Xav83 (#1365)\\n- Translations update from Hosted Weblate @weblate (#1361)\\n- Add support for atom labels in the coordinate editor @ghutchis (#1362)\\n- Translations update from Hosted Weblate @weblate (#1355)\\n- Turn on USE\\\\_3DCONNEXION for Windows and Mac builds @ghutchis (#1356)\\n- Translations update from Hosted Weblate @weblate (#1350)\\n- Enable clipboard insertion for ligands @ghutchis (#1349)\\n- Add a generic output reader - use internal, then cclib, then OB @ghutchis (#1347)\\n- Initial support for scripting surface generation @ghutchis (#1344)\\n- More pybind methods and properties @ghutchis (#1342)\\n- Add team-id secret for Mac notarytool @ghutchis (#1341)\\n- Update Mac notarization procedure to skip npm package @ghutchis (#1340)\\n- Fixup mechanism to register script commands - now called by the app @ghutchis (#1338)\\n- Switch to a new icon for feedback @ghutchis (#1333)\\n- Turn off leak and thread sanitizer builds for now @ghutchis (#1335)\\n- Bump actions/checkout from 3 to 4 @dependabot (#1329)\\n- Translations update from Hosted Weblate @weblate (#1328)\\n- Add orca import @ghutchis (#1326)\\n- Translations update from Hosted Weblate @weblate (#1325)\\n- Translations update from Hosted Weblate @weblate (#1316)\\n- chemicaljson enhancements @ghutchis (#1321)\\n- Translations update from Hosted Weblate @weblate (#1313)\\n- Translations update from Hosted Weblate @weblate (#1309)\\n- Translations update from Hosted Weblate @weblate (#1304)\\n- Revert \\"A variety of clang-tidy fixes\\" @ghutchis (#1302)\\n- A variety of clang-tidy fixes @ghutchis (#1288)\\n- Fix #1182 to turn off wrap for coordinate editor @ghutchis (#1296)\\n- Build defaul
|
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: '6511116283',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '196e78d082f9496cf84675574caf296bee92bf7b',
before: 'b8dfd529c7259832b62d20f76e111226cf202d7c',
number: 1369,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/1206314?v=4',
description: 'Permissively licensed cross-platform tools that provide applications for computational chemistry, materials science, and related areas.',
events_url: 'https://api.github.com/orgs/OpenChemistry/events',
hooks_url: 'https://api.github.com/orgs/OpenChemistry/hooks',
id: 1206314,
issues_url: 'https://api.github.com/orgs/OpenChemistry/issues',
login: 'OpenChemistry',
members_url: 'https://api.github.com/orgs/OpenChemistry/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjEyMDYzMTQ=',
public_members_url: 'https://api.github.com/orgs/OpenChemistry/public_members{/member}',
repos_url: 'https://api.github.com/orgs/OpenChemistry/repos',
url: 'https://api.github.com/orgs/OpenChemistry'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/issues/1369/comments'
},
commits: {
href: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/pulls/1369/commits'
},
html: {
href: 'https://github.com/OpenChemistry/avogadrolibs/pull/1369'
},
issue: {
href: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/issues/1369'
},
review_comment: {
href: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/pulls/1369/comments'
},
self: {
href: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/pulls/1369'
},
statuses: {
href: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/statuses/196e78d082f9496cf84675574caf296bee92bf7b'
}
},
active_lock_reason: null,
additions: 33,
assignee: null,
assignees: [],
author_association: 'NONE',
auto_merge: null,
base: {
label: 'OpenChemistry:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/assignees{/user}',
blobs_url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/branches{/branch}',
clone_url: 'https://github.com/OpenChemistry/avogadrolibs.git',
collaborators_url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/comments{/number}',
commits_url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/commits{/sha}',
compare_url: 'https://api.github.com/repos/OpenChemistry/avogadrolibs/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/OpenChemi
|
The logs for this run have expired and are no longer available.
Loading