Skip to content

Conversation

@zonorti
Copy link

@zonorti zonorti commented Jan 20, 2026

As I found the tool I was really excited about having users automatically replaced with their Github handles.

Unfortunately it seems like it no longer works due to Gitlab API returning less data and skipping WerbsiteURL property.

This PR adds fetching full user info instead of minimal one that ListUsers provides.

After adding this fix I get githubAuthorName set correctly.

Additional info:

According to documentation more fields are returned with an administrator runs this command. So getting admin permissions is a workaround.

Update:

By checking for CreatedAt field we can see if we got full response or need to fetch more details. This saves and API call if we are already GitLab Admin.

Signed-off-by: Zon <zon@aignostics.com>
Signed-off-by: Zon <zon@aignostics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant