test: add tests for singleton pattern #3
release-drafter.yml
on: push
update_release_draft
19s
Annotations
2 errors and 2 warnings
update_release_draft
Resource not accessible by integration
{
name: 'HttpError',
id: '11677436025',
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: 'Tue, 05 Nov 2024 04:14:54 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; contents=write,workflows=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': 'C0C0:1CA0F6:17EE973:2E6201B:67299BBE',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4988',
'x-ratelimit-reset': '1730783532',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'x-xss-protection': '0'
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/Undertone0809/zeeland/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/11.1.0 octokit-core.js/3.2.4 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"","name":"","tag_name":"","body":"## What’s Changed\\n\\n* No changes\\n\\n## :busts_in_silhouette: List of contributors\\n\\n@Undertone0809\\n","draft":true,"prerelease":false}',
request: { retryCount: 3, retries: 3, retryAfter: 16 }
},
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
event: {
id: '11677436025',
name: 'push',
payload: {
after: '7664dbfa0f52eb20bbe9245a843e5c4a09bb04e7',
base_ref: null,
before: '1328be642dffbc09be420e726c2e74b64adf0d63',
commits: [
{
author: {
email: 'zeeland4work@gmail.com',
name: 'zeeland',
username: 'Undertone0809'
},
committer: {
email: 'zeeland4work@gmail.com',
name: 'zeeland',
username: 'Undertone0809'
},
distinct: true,
id: '7664dbfa0f52eb20bbe9245a843e5c4a09bb04e7',
message: 'test: add tests for singleton pattern\n' +
'\n' +
'- Implement tests for Singleton, AbstractSingleton, and singleton decorator\n' +
'- Add test cases for singleton with arguments and multiple singleton classes\n' +
'\n' +
'This commit adds comprehensive tests to ensure the singleton pattern implementation works as expected. It includes tests for the metaclass, abstract class, decorator, and handling of arguments.',
timestamp: '2024-11-05T12:13:30+08:00',
tree_id: '78a2b9d4c3dfd41c34b6c0417354dd1379b1c10f',
url: 'https://github.com/Undertone0809/zeeland/commit/7664dbfa0f52eb20bbe9245a843e5c4a09bb04e7'
}
],
compare: 'https://github.com/Undertone0809/zeeland/compare/1328be642dff...7664dbfa0f52',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: 'zeeland4work@gmail.com',
name: 'zeeland',
username: 'Undertone0809'
},
committer: {
email: 'zeeland4work@gmail.com',
name: 'zeeland',
username: 'Undertone0809'
},
distinct: true,
id: '7664dbfa0f52eb20bbe9245a843e5c4
|
update_release_draft
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5.15.0/dist/index.js:15311:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
{
name: 'AggregateError',
event: {
id: '11677436025',
name: 'push',
payload: {
after: '7664dbfa0f52eb20bbe9245a843e5c4a09bb04e7',
base_ref: null,
before: '1328be642dffbc09be420e726c2e74b64adf0d63',
commits: [
{
author: {
email: 'zeeland4work@gmail.com',
name: 'zeeland',
username: 'Undertone0809'
},
committer: {
email: 'zeeland4work@gmail.com',
name: 'zeeland',
username: 'Undertone0809'
},
distinct: true,
id: '7664dbfa0f52eb20bbe9245a843e5c4a09bb04e7',
message: 'test: add tests for singleton pattern\n' +
'\n' +
'- Implement tests for Singleton, AbstractSingleton, and singleton decorator\n' +
'- Add test cases for singleton with arguments and multiple singleton classes\n' +
'\n' +
'This commit adds comprehensive tests to ensure the singleton pattern implementation works as expected. It includes tests for the metaclass, abstract class, decorator, and handling of arguments.',
timestamp: '2024-11-05T12:13:30+08:00',
tree_id: '78a2b9d4c3dfd41c34b6c0417354dd1379b1c10f',
url: 'https://github.com/Undertone0809/zeeland/commit/7664dbfa0f52eb20bbe9245a843e5c4a09bb04e7'
}
],
compare: 'https://github.com/Undertone0809/zeeland/compare/1328be642dff...7664dbfa0f52',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: 'zeeland4work@gmail.com',
name: 'zeeland',
username: 'Undertone0809'
},
committer: {
email: 'zeeland4work@gmail.com',
name: 'zeeland',
username: 'Undertone0809'
},
distinct: true,
id: '7664dbfa0f52eb20bbe9245a843e5c4a09bb04e7',
message: 'test: add tests for singleton pattern\n' +
'\n' +
'- Implement tests for Singleton, AbstractSingleton, and singleton decorator\n' +
'- Add test cases for singleton with arguments and multiple singleton classes\n' +
'\n' +
'This commit adds comprehensive tests to ensure the singleton pattern implementation works as expected. It includes tests for the metaclass, abstract class, decorator, and handling of arguments.',
timestamp: '2024-11-05T12:13:30+08:00',
tree_id: '78a2b9d4c3dfd41c34b6c0417354dd1379b1c10f',
url: 'https://github.com/Undertone0809/zeeland/commit/7664dbfa0f52eb20bbe9245a843e5c4a09bb04e7'
},
pusher: { email: 'zeeland4work@gmail.com', name: 'Undertone0809' },
ref: 'refs/heads/main',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/Undertone0809/zeeland/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Undertone0809/zeeland/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Undertone0809/zeeland/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Undertone0809/zeeland/branches{/branch}',
clone_url: 'https://github.com/Undertone0809/zeeland.git',
collaborators_url: 'https://api.github.com/repos/Undertone0809/zeeland/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/Undertone0809/zeeland/comments{/number}',
commits_url: 'https://api.github.com/repos/Undertone0809/zeeland/commits{/sha}',
compare_url: 'https://api.github.com/repos/Undertone0809/zeeland/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/Undertone0809/zeeland/contents/{+path}',
contributors_url: 'https://api.github.com/repos/Undertone0809/zeeland/contributors',
created_at: 1725384608,
defau
|
update_release_draft
The following actions uses node12 which is deprecated and will be forced to run on node16: release-drafter/release-drafter@v5.15.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
update_release_draft
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5.15.0. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|