Skip to content

How to exclude languages in settings.json? excludeLanguages doesn't seem to work #133

@itscheems

Description

@itscheems

Hi! I'm trying to exclude certain languages from the 3D contribution graph using settings.json, but the excluded languages still appear in the generated SVG.

Current Configuration:

My settings.json file:

[
  {
    "fileName": "profile-green-animate",
    "theme": "green",
    "excludeLanguages": ["Java", "JavaScript", "HTML", "Vue", "CSS"]
  }
]

Workflow:

- uses: yoshi389111/github-profile-3d-contrib@latest
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    USERNAME: ${{ github.repository_owner }}

Expected Behavior:
The generated 3D profile should exclude Java, JavaScript, HTML, Vue, and CSS from the language distribution.

Actual Behavior:
The excluded languages (Java, JavaScript) still appear in the generated SVG chart.

What I've Tried:

  1. Verified that settings.json is in the repository root and is being read correctly (confirmed in workflow logs)
  2. Tried both excludeLanguages (camelCase) and exclude_languages (snake_case) field names
  3. Tried different language name formats (capitalized, lowercase)

Questions:

  1. Is excludeLanguages the correct field name? If not, what is the correct way to exclude languages?
  2. Are there any specific requirements for the language names (case sensitivity, exact spelling)?
  3. Is this feature supported in the current version?

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions