feat(email_sender): add max size to the attachments #11
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9375489817',
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:14:45 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': 'FF86:24FAF0:59C2F7E:9D76392:665F9FE4',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4963',
'x-ratelimit-reset': '1717544067',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '37',
'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* refactor(email_sender): encapsulate EmailMessage struct (#10) @JRocabruna\\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: '9375489817',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'b66847276d48a6c7e5642a57a05559c7b6b2d094',
before: '7e90948108d063f5df312c63e6c0fe40a764c87c',
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_re
|
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: '9375489817',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'b66847276d48a6c7e5642a57a05559c7b6b2d094',
before: '7e90948108d063f5df312c63e6c0fe40a764c87c',
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/b66847276d48a6c7e5642a57a05559c7b6b2d094'
}
},
active_lock_reason: null,
additions: 86,
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}',
|