feat(email_sender): add max size to the attachments #9
Annotations
2 errors
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9375377301',
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 23:03:27 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': '6687:1874:148B63A4:237B5B79:665F9D3F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4985',
'x-ratelimit-reset': '1717544067',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '15',
'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/13/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: '9375377301',
name: 'pull_request',
payload: {
action: 'opened',
number: 13,
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/13/comments'
},
commits: {
href: 'http
|
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: '9375377301',
name: 'pull_request',
payload: {
action: 'opened',
number: 13,
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/13/comments'
},
commits: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/13/commits'
},
html: {
href: 'https://github.com/DarkRockMountain/gomail/pull/13'
},
issue: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/issues/13'
},
review_comment: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/13/comments'
},
self: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/13'
},
statuses: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/statuses/7e90948108d063f5df312c63e6c0fe40a764c87c'
}
},
active_lock_reason: null,
additions: 1015,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'DarkRockMountain:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/DarkRockMountain/gomail/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/DarkRockMountain/gomail/assignees{/user}',
blobs_url: 'https://api.github.com/repos/DarkRockMountain/gomail/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/DarkRockMountain/gomail/branches{/branch}',
clone_url: 'https://github.com/DarkRockMountain/gomail.git',
collaborators_url: 'https://api.github.com/repos/DarkRockMountain/gomail/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/DarkRockMountain/gomail/comments{/number}',
commits_url: 'https://api.github.com/repos/DarkRockMountain/gomail/commits{/sha}',
compare_url: 'https://api.github.com/repos/DarkRockMountain/gomail/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/DarkRockMountain/gomail/contents/{+path}',
|
This job succeeded
Loading