You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upload workflow requires that the gh CLI is authenticated as the correct GitHub user (matching the NEMAR user's linked GitHub account). If mismatched, the invitation auto-accept and push will fail.
Solution
Before upload, verify:
gh CLI is installed and authenticated
The authenticated user matches the NEMAR user's linked GitHub account
Implementation
# Check gh auth status
gh auth status
# Get authenticated user
GITHUB_USER=$(gh api user --jq '.login')# Compare with NEMAR user's linked GitHubif [ "$GITHUB_USER"!="$EXPECTED_GITHUB_USER" ];thenecho"Warning: gh CLI authenticated as $GITHUB_USER, expected $EXPECTED_GITHUB_USER"fi
Considerations
Add verification step at start of upload command
Warn user if mismatch detected
Suggest gh auth login if not authenticated
May need to store linked GitHub username in NEMAR config
Activity
neuromechanist commentedon Jan 21, 2026
Closing: created empty due to shell quoting error. Replaced by #47.
feat: add commit authorship and gh CLI verification
feat: add commit authorship and gh CLI verification (#48)