feat(EmailMessage): change EmailMessage parameter to pointer in EmailSender interface for efficiency. #12
release-drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9375533843',
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:19:03 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': '4D00:21DDB4:544AED7:94061EA:665FA0E7',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4950',
'x-ratelimit-reset': '1717544067',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '50',
'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/14/merge","name":"v0.5.3","tag_name":"v0.5.3","body":"# What's Changed\\n\\n## Other changes\\n\\n* feat(email_sender): add max size to the attachments (#13) @JRocabruna\\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: '9375533843',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '9919f34dfc8c3efc21412cd3fe91a1bd84f51119',
before: 'b0252ff5f53d069d1a2daec877cbe0a5114e935b',
number: 14,
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',
|
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: '9375533843',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '9919f34dfc8c3efc21412cd3fe91a1bd84f51119',
before: 'b0252ff5f53d069d1a2daec877cbe0a5114e935b',
number: 14,
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/14/comments'
},
commits: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/14/commits'
},
html: {
href: 'https://github.com/DarkRockMountain/gomail/pull/14'
},
issue: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/issues/14'
},
review_comment: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/14/comments'
},
self: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/pulls/14'
},
statuses: {
href: 'https://api.github.com/repos/DarkRockMountain/gomail/statuses/9919f34dfc8c3efc21412cd3fe91a1bd84f51119'
}
},
active_lock_reason: null,
additions: 155,
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}',
|