add script to fix deleted memberOrg affiliations #19319
release-drafter.yaml
on: pull_request
update_release_draft
1m 14s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '13632904839',
status: 422,
response: {
url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases/128318795',
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: 'Mon, 03 Mar 2025 14:16:07 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',
'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': 'DCE0:30BEEC:3F63D76:7FB623F:67C5B9A7',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14981',
'x-ratelimit-reset': '1741014680',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '19',
'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#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/releases/128318795',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- organization aggs sync improvements @skwowet (#2860)\\n- Use `sRandMember` instead of `sScan` for org aggs to prevent timeouts @skwowet (#2869)\\n- Fix: List of QA Items for UI issues @Sameh16 (#2879)\\n- Improve deciding on primary org checks @epipav (#2878)\\n- Add not found page component and improve error handling in contributor and organization details pages @Sameh16 (#2877)\\n- Nango integration \\\\& Removal of tenantId from many places @themarolt (#2870)\\n- Collections management @Sameh16 (#2872)\\n- fix `dailyGetAndComputeOrgAggs` schedule job @skwowet (#2867)\\n- fix: prevent premature rendering of connect component in integrations @Sameh16 (#2866)\\n- Activity relations migration performance improvements @epipav (#2859)\\n- fix: prevent duplicate member merge operations @skwowet (#2853)\\n- Cm 2068 @Sameh16 (#2856)\\n- Add total activity count when merging members @Sameh16 (#2854)\\n- refactor and improve `memberOrganizationService` transaction handling @skwowet (#2849)\\n- Combine activity moving and affiliation recalculation @sausage-todd (#2807)\\n- fix: explicit `withAggs` in syncMember to avoid empty opts @skwowet (#2843)\\n- fix: add affiliation overrides to member list endpoint @skwowet (#2837)\\n- Remove redundant identity uniqueness check in member merge @skwowet (#2834)\\n- fix: safe parent project check in segments @skwowet (#2823)\\n- fix: handle empty member organizations list @skwowet (#2822)\\n- fix: unable to disconnect github integration @skwowet (#2821)\\n- Move health endpoint before tenant middleware @skwowet (#2818)\\n- Fix `lfxMembership` filter in organization query @skwowet (#2814)\\n- Fix premature member merge transaction commit @skwowet (#2813)\\n- Disable backend l
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5/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/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '13632904839',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'f1da02ea8330adca5b2d2b37efb4317bca5d4d3c',
before: '548574779a9a6e0c8f83ab2664c7cdcbc107e319',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/2730?v=4',
created_at: '2020-04-02T15:26:23Z',
description: 'The Linux Foundation is dedicated to building sustainable ecosystems around open source projects to accelerate technology development and industry adoption.',
html_url: 'https://github.com/enterprises/linux-foundation',
id: 2730,
name: 'The Linux Foundation',
node_id: 'MDEwOkVudGVycHJpc2UyNzMw',
slug: 'linux-foundation',
updated_at: '2024-08-22T17:49:39Z',
website_url: 'https://www.linuxfoundation.org/'
},
number: 2882,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/85551972?v=4',
description: 'crowd.dev is an open-source platform to centralize community, product, and customer data to understand who is engaging with your open source project.',
events_url: 'https://api.github.com/orgs/CrowdDotDev/events',
hooks_url: 'https://api.github.com/orgs/CrowdDotDev/hooks',
id: 85551972,
issues_url: 'https://api.github.com/orgs/CrowdDotDev/issues',
login: 'CrowdDotDev',
members_url: 'https://api.github.com/orgs/CrowdDotDev/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjg1NTUxOTcy',
public_members_url: 'https://api.github.com/orgs/CrowdDotDev/public_members{/member}',
repos_url: 'https://api.github.com/orgs/CrowdDotDev/repos',
url: 'https://api.github.com/orgs/CrowdDotDev'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/2882/comments'
},
commits: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/2882/commits'
},
html: {
href: 'https://github.com/CrowdDotDev/crowd.dev/pull/2882'
},
issue: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/2882'
},
review_comment: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/2882/comments'
},
self: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/2882'
},
statuses: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/f1da02ea8330adca5b2d2b37efb4317bca5d4d3c'
}
},
active_lock_reason: null,
additions: 214,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/63534555?v=4',
events_url: 'https://api.github.com/users/skwowet/events{/privacy}',
followers_url: 'https://api.github.com/users/skwowet/followers',
following_url: 'https://api.github.com/users/skwowet/following{/other_user}',
gists_url: 'https://api.github.com/users/skwowet/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/skwowet',
id: 63534555,
login: 'skwowet',
node_id: 'MDQ6VXNlcjYzNTM0NTU1',
organizations_url: 'https://api.github.com/users/skwowet/orgs',
received_events_url: 'https://api.github.com/users/skwowet/received_events',
repos_url: 'https://api.github.com/u
|