Skip to content

Script to fix member affiliations for deleted work experiences #17530

Script to fix member affiliations for deleted work experiences

Script to fix member affiliations for deleted work experiences #17530

Triggered via pull request November 11, 2024 15:58
Status Success
Total duration 56s
Artifacts

release-drafter.yaml

on: pull_request
update_release_draft
49s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '11781945987', 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, 11 Nov 2024 15:58:59 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': '1BC0:2DEFA4:92FFF:11EA75:673229C3', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14999', 'x-ratelimit-reset': '1731344339', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '1', '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- fix: affiliations when work experiences are deleted @skwowet (#2675)\\n- Support `deletedAt` on githubRepos and gitlabRepos table @skwowet (#2677)\\n- Update activities in postgres periodically @sausage-todd (#2668)\\n- Progai linkedin scraper typo fix @epipav (#2676)\\n- Member enrichment ProgAI Linkedin scraper source @epipav (#2674)\\n- Improve SERP isEnrichable conditions \\\\& activity count filter for sources @epipav (#2667)\\n- Remove some logs and handle rate limits for groupsio @garrrikkotua (#2666)\\n- Data quality assistant @gaspergrom (#2657)\\n- Revert bots filters @joanagmaia (#2663)\\n- Org and member view updates (LFX-1664) @themarolt (#2660)\\n- Reduce search sync api logs @sausage-todd (#2662)\\n- Member enrichment null byte sanitization, retry policy updates @epipav (#2661)\\n- Migration to Fontawesome icons @gaspergrom (#2632)\\n- Fix dashboard cache building @sausage-todd (#2654)\\n- Fix getting child segments for projects @joanagmaia (#2656)\\n- Organize imports with prettier @sausage-todd (#2653)\\n- Improvement/questdb improvements @themarolt (#2650)\\n- Fix segments sent to github installations request @joanagmaia (#2649)\\n- Update README.md @jonathimer (#2642)\\n- New connect UI and auto import for Groups.io @garrrikkotua (#2636)\\n- Enable report data for all users @gaspergrom (#2638)\\n- use ilp to push activity updates to questdb instead of pg protocol api @themarolt (#2633)\\n- Disable activity aggregates on unmerge preview @epipav (#2631)\\n- QuestDB + Cube.js + Reports @loicsaintroch (#2424)\\n- Increase local pg max connections @epipav (#2626)\\n- Oracle migration @sausage-todd (#2622)\\n- fix member merge with affiliations @skwowet (#2620)\\n- Support unmerge actions in aud
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: '11781945987', name: 'pull_request', payload: { action: 'synchronize', after: 'e1c5ac85a60b1e39be16c6f9d213cdda2af944d8', before: 'ce938efeba605a3423c1661b3fdb027ec671b1b7', 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: 2679, 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/2679/comments' }, commits: { href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/2679/commits' }, html: { href: 'https://github.com/CrowdDotDev/crowd.dev/pull/2679' }, issue: { href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/issues/2679' }, 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/2679/comments' }, self: { href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/pulls/2679' }, statuses: { href: 'https://api.github.com/repos/CrowdDotDev/crowd.dev/statuses/e1c5ac85a60b1e39be16c6f9d213cdda2af944d8' } }, active_lock_reason: null, additions: 126, 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
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/