Skip to content

fix(tooling): correct github user resolution in dco script#127

Open
aashu2006 wants to merge 1 commit intohiero-ledger:mainfrom
aashu2006:fix/dco-username-resolution
Open

fix(tooling): correct github user resolution in dco script#127
aashu2006 wants to merge 1 commit intohiero-ledger:mainfrom
aashu2006:fix/dco-username-resolution

Conversation

@aashu2006
Copy link
Copy Markdown

Description:

Fix incorrect GitHub username resolution logic in DCO check script.
The dco.py script had a logic error on line 117 where get_github_username_by_email() was being called instead of get_github_email_by_username(), causing the script to fail when resolving user information from GitHub API.

Changes:

  • Fix function call on line 117 to use correct method
  • Improve robustness of username/email resolution

Related issue(s): N/A (Discovered during code review)

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: aashu2006 <akshatp439@gmail.com>
@lfdt-bot
Copy link
Copy Markdown

lfdt-bot commented Apr 3, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@aashu2006
Copy link
Copy Markdown
Author

Hi @exploreriii ! Can you please look into this PR, thanks!

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.

2 participants