Skip to content

Conversation

@JesperDramsch
Copy link
Owner

@JesperDramsch JesperDramsch commented Jan 16, 2026

Add a check to verify if a contributor already exists in .all-contributorsrc before running all-contributors add. This works around a bug in all-contributors-cli (issue paperswithcode#371) where adding an existing contributor with overlapping contribution types causes all their existing contributions to be replaced with just the new type.

The fix uses jq to check if the contributor's login already exists in the contributors array, and skips the add command if they do.

…ontributions

Add a check to verify if a contributor already exists in .all-contributorsrc
before running `all-contributors add`. This works around a bug in
all-contributors-cli (issue paperswithcode#371) where adding an existing contributor
with overlapping contribution types causes all their existing contributions
to be replaced with just the new type.

The fix uses jq to check if the contributor's login already exists in the
contributors array, and skips the add command if they do.
@github-actions github-actions bot added the CI/CD label Jan 16, 2026
@JesperDramsch JesperDramsch changed the title fix(workflow): prevent all-contributors-cli from replacing existing c… fix(workflow): prevent all-contributors-cli from replacing existing contributions Jan 16, 2026
@JesperDramsch JesperDramsch merged commit 91ac1a8 into main Jan 16, 2026
9 of 10 checks passed
@JesperDramsch JesperDramsch deleted the claude/fix-chore-automation-bug-avb8x branch January 16, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants