[DEVOPS-530] Replace Azure PowerShell actions and update logging #148
Annotations
2 errors
Draft Release Notes
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10690449116',
status: 422,
response: {
url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 03 Sep 2024 20:53: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': 'C808:1CEDA7:E06A5FE:1AE767D0:66D7772F',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14963',
'x-ratelimit-reset': '1725398409',
'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',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"target_commitish":"refs/pull/148/merge","name":"2.22.4","tag_name":"2.22.4","body":"## What's Changed\\n\\n* No changes\\n\\n**Full Changelog**: https://github.com/Andrews-McMeel-Universal/reusable_workflows/compare/2.22.3...2.22.4\\n","draft":true,"prerelease":false,"make_latest":"true"}`,
request: {}
},
event: {
id: '10690449116',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '4b0df732964b1dffbd6deee8f527afedf18cdc17',
before: '2ce7846adc2197052dc356571889aef35587e9e6',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/204975?v=4',
created_at: '2024-08-01T21:33:09Z',
description: null,
html_url: 'https://github.com/enterprises/andrews-mcmeel-universal',
id: 204975,
name: 'Andrews McMeel Universal',
node_id: 'E_kgDOAAMgrw',
slug: 'andrews-mcmeel-universal',
updated_at: '2024-08-22T21:05:43Z',
website_url: null
},
number: 148,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/61364335?v=4',
description: 'Digital Technology is an AMU division comprised of very talented and versatile software engineers who maintain all digital properties and infrastructure',
events_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/events',
hooks_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/hooks',
id: 61364335,
issues_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/issues',
login: 'Andrews-McMeel-Universal',
members_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/members{/member}',
node
|
Draft Release Notes
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '10690449116',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '4b0df732964b1dffbd6deee8f527afedf18cdc17',
before: '2ce7846adc2197052dc356571889aef35587e9e6',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/204975?v=4',
created_at: '2024-08-01T21:33:09Z',
description: null,
html_url: 'https://github.com/enterprises/andrews-mcmeel-universal',
id: 204975,
name: 'Andrews McMeel Universal',
node_id: 'E_kgDOAAMgrw',
slug: 'andrews-mcmeel-universal',
updated_at: '2024-08-22T21:05:43Z',
website_url: null
},
number: 148,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/61364335?v=4',
description: 'Digital Technology is an AMU division comprised of very talented and versatile software engineers who maintain all digital properties and infrastructure',
events_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/events',
hooks_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/hooks',
id: 61364335,
issues_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/issues',
login: 'Andrews-McMeel-Universal',
members_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYxMzY0MzM1',
public_members_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Andrews-McMeel-Universal/repos',
url: 'https://api.github.com/orgs/Andrews-McMeel-Universal'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/issues/148/comments'
},
commits: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/pulls/148/commits'
},
html: {
href: 'https://github.com/Andrews-McMeel-Universal/reusable_workflows/pull/148'
},
issue: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/issues/148'
},
review_comment: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/pulls/148/comments'
},
self: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/pulls/148'
},
statuses: {
href: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/statuses/4b0df732964b1dffbd6deee8f527afedf18cdc17'
}
},
active_lock_reason: null,
additions: 53,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'Andrews-McMeel-Universal:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_workflows/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Andrews-McMeel-Universal/reusable_work
|
Loading