GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Redundant commitConvention and repoType added to .all-contributorsrc file on add · Issue #369 · all-contributors/cli

Redundant commitConvention and repoType added to .all-contributorsrc file on add #369

New issue
Copy link
New issue
Copy link
Closed
#585
#542
Closed
Redundant commitConvention and repoType added to .all-contributorsrc file on add#369
#585
#542
Copy link
Labels
type: bugSomething isn't working

Description

@JoshuaKGoldberg
JoshuaKGoldberg
opened on Dec 31, 2024
Issue body actions

Describe the bug

.all-contributorsrc files shouldn't need to include commitConvention or repoType properties. They both have default values as documented on https://allcontributors.org/docs/en/bot/configuration:

  • commitConvention: "angular"
  • repoType: "github"

But, running npx all-contributors-cli add ... is adding commitConvention or repoType properties with their default values to .all-contributorsrc files that don't have them explicitly.

 {
 	"contributors": [ ... ],
 	"projectName": "repros-example",
 	"projectOwner": "JoshuaKGoldberg",
+	"repoType": "github",
+	"commitConvention": "angular"
 }

To Reproduce

See https://github.com/JoshuaKGoldberg/repros/tree/all-contributors-cli-add-field-defaults.

  1. Create a repo with a minimal .all-contributorsrc
  2. Run npx all-contributors-cli add JoshuaKGoldberg doc

Expected behavior

The .all-contributorsrc file shouldn't have commitConvention or repoType added, since they have documented defaults.

Additional context

I filed a bunch of feature requests over on https://github.com/all-contributors/all-contributors for more default-friendly behavior. all-contributors/allcontributors.org#808 is something of a hub for them.

Activity

  1. JoshuaKGoldberg
    added
    type: bugSomething isn't working
    on Dec 31, 2024
  2. jdalrymple
    added a commit that references this issue on Nov 4, 2026

    fix: don't persist default repoType and commitConvention to config file

    This issue will close once commit 819cac7 is merged into the 'master' branch.
    819cac7
  3. jdalrymple
    closed this as completedin #542on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.