Erase member script & future member creation prevention improvements #16848
Triggered via pull request
September 18, 2024 12:17
Status
Success
Total duration
1m 12s
Artifacts
–
release-drafter.yaml
on: pull_request
update_release_draft
1m 3s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10921941061',
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: 'Wed, 18 Sep 2024 12:19:06 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': '8C11:3858D:36FE1C2:69FBBC6:66EAC539',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14950',
'x-ratelimit-reset': '1726663855',
'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#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.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- Add cron job to update Github settings with new repos @garrrikkotua (#2613)\\n- add maintainers Internal table and update githubRepo schema @plimbear (#2610)\\n- remove `joinedAt` in OpenSearch member cleanup @plimbear (#2609)\\n- Adjust verified identity copy @joanagmaia (#2608)\\n- Pass `streamId` correctly when updating integration settings @sausage-todd (#2604)\\n- add `include` param in member lookup without segment @plimbear (#2606)\\n- refactor: extract `joinedAt` date logic to utility function @plimbear (#2599)\\n- Gitlab Integration @garrrikkotua (#2598)\\n- Improve deletion of member work experience @plimbear (#2593)\\n- Prevent gdpr opt-out users to be recreated @epipav (#2594)\\n- Support lfxMembership filter in organization list @plimbear (#2580)\\n- fix organization\'s name when unmerging LinkedIn identity @plimbear (#2590)\\n- soft delete member work experience @plimbear (#2589)\\n- Filter out deleted memberOrganizations in list @plimbear (#2588)\\n- Prevent creating unknown date work experiences @plimbear (#2583)\\n- Member sync fixes @epipav (#2587)\\n- Improve current organization display in list @joanagmaia (#2584)\\n- sort member work experiences @plimbear (#2578)\\n- adjust the findById endpoint to show an org across all segments @plimbear (#2577)\\n- Update lfx membership script @joanagmaia (#2572)\\n- rm orgId from redis so that it\'s not processed again @plimbear (#2575)\\n- Endpoint to serve organizations across all segments @plimbear (#2560)\\n- Improve organization and member update perf @plimbear (#2567)\\n- Improve search sync perf @sausage-todd (#2566)\\n- Fix member unmerge transaction error @plimbear (#2571)\\n- Fix subreddit existence check @garrrikkotua (#2569)\\n- return
|
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: '10921941061',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2605b53504e52e1db0901ce3475e9c3e8f76dfb8',
before: 'cc33b8ca22d885dc16ad5cc600627f02002c2de9',
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: 2614,
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/2614/comments'
},
commits: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/2614/commits'
},
html: {
href: 'https://github.com/CrowdDotDev/crowd.dev/pull/2614'
},
issue: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/2614'
},
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/2614/comments'
},
self: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/2614'
},
statuses: {
href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/2605b53504e52e1db0901ce3475e9c3e8f76dfb8'
}
},
active_lock_reason: null,
additions: 367,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'CrowdDotDev:crowd-linux',
ref: 'crowd-linux',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/assignees{/user}',
blobs_url: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/git/blobs{/sha}',
branches_url:
|
update_release_draft
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|