Skip to content

refactor(email_sender): encapsulate EmailMessage struct #8

refactor(email_sender): encapsulate EmailMessage struct

refactor(email_sender): encapsulate EmailMessage struct #8

Triggered via pull request June 4, 2024 22:34
Status Success
Total duration 12s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
5s
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: '9375135699', status: 422, response: { url: 'https://api.github.com/repos/DarkRockMountain/gomail/releases', 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: 'Tue, 04 Jun 2024 22:34:29 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; 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': 'C486:201BF:4A6A5:73EAD:665F9675', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4995', 'x-ratelimit-reset': '1717544067', '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#create-a-release' } }, request: { method: 'POST', url: 'https://api.github.com/repos/DarkRockMountain/gomail/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: `{"target_commitish":"refs/pull/10/merge","name":"v0.5.3","tag_name":"v0.5.3","body":"# What's Changed\\n\\n## Other changes\\n\\n* test(email): extend email tests for providers (#9) @JRocabruna\\n* refactor(providers): separate all email providers into individual packages (#7) @JRocabruna\\n* docs(security): update supported versions in SECURITY.md (#6) @JRocabruna\\n\\n**Full Changelog**: https://github.com/DarkRockMountain/gomail/compare/v0.5.2...v0.5.3\\n","draft":true,"prerelease":false,"make_latest":"true"}`, request: {} }, event: { id: '9375135699', name: 'pull_request', payload: { action: 'opened', number: 10, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/161046566?v=4', description: 'DarkRockMountain, your trusted partner for developing, implementing, scaling, and maintaining your solutions from concept to production.', events_url: 'https://api.github.com/orgs/DarkRockMountain/events', hooks_url: 'https://api.github.com/orgs/DarkRockMountain/hooks', id: 161046566, issues_url: 'https://api.github.com/orgs/DarkRockMountain/issues', login: 'DarkRockMountain', members_url: 'https://api.github.com/orgs/DarkRockMountain/members{/member}', node_id: 'O_kgDOCZlgJg', public_members_url: 'https://api.github.com/orgs/DarkRockMountain/public_members{/member}', repos_url: 'https://api.github.com/orgs/DarkRockMountain/repos', url: 'https://api.github.com/orgs/DarkRockMountain' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/DarkRockMountain/gomail/issues/10/comments' }, commits: { href: 'https://ap
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:8462:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '9375135699', name: 'pull_request', payload: { action: 'opened', number: 10, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/161046566?v=4', description: 'DarkRockMountain, your trusted partner for developing, implementing, scaling, and maintaining your solutions from concept to production.', events_url: 'https://api.github.com/orgs/DarkRockMountain/events', hooks_url: 'https://api.github.com/orgs/DarkRockMountain/hooks', id: 161046566, issues_url: 'https://api.github.com/orgs/DarkRockMountain/issues', login: 'DarkRockMountain', members_url: 'https://api.github.com/orgs/DarkRockMountain/members{/member}', node_id: 'O_kgDOCZlgJg', public_members_url: 'https://api.github.com/orgs/DarkRockMountain/public_members{/member}', repos_url: 'https://api.github.com/orgs/DarkRockMountain/repos', url: 'https://api.github.com/orgs/DarkRockMountain' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/DarkRockMountain/gomail/issues/10/comments' }, commits: { href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/10/commits' }, html: { href: 'https://github.com/DarkRockMountain/gomail/pull/10' }, issue: { href: 'https://api.github.com/repos/DarkRockMountain/gomail/issues/10' }, review_comment: { href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/10/comments' }, self: { href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/10' }, statuses: { href: 'https://api.github.com/repos/DarkRockMountain/gomail/statuses/96ab8e71d1440eebdd91747010a79b6058a83664' } }, active_lock_reason: null, additions: 799, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/43208985?v=4', events_url: 'https://api.github.com/users/JRocabruna/events{/privacy}', followers_url: 'https://api.github.com/users/JRocabruna/followers', following_url: 'https://api.github.com/users/JRocabruna/following{/other_user}', gists_url: 'https://api.github.com/users/JRocabruna/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/JRocabruna', id: 43208985, login: 'JRocabruna', node_id: 'MDQ6VXNlcjQzMjA4OTg1', organizations_url: 'https://api.github.com/users/JRocabruna/orgs', received_events_url: 'https://api.github.com/users/JRocabruna/received_events', repos_url: 'https://api.github.com/users/JRocabruna/repos', site_admin: false, starred_url: 'https://api.github.com/users/JRocabruna/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/JRocabruna/subscriptions', type: 'User', url: 'https://api.github.com/users/JRocabruna' }, assignees: [ { avatar_url: 'https://avatars.githubusercontent.com/u/43208985?v=4', events_url: 'https://api.github.com/users/JRocabruna/events{/privacy}', followers_url: 'https://api.github.com/users/JRocabruna/followers', following_url: 'https://api.git