Skip to content

Discussion for CUSTOM_TEXT featureΒ #6

@amychurchwell

Description

@amychurchwell

CUSTOM_TEXT is currently out of scope for a feature request because the proposed solution of deleting the entire repo and recreating it for the correct contribution history on a repo is outside the permissions of GITHUB_TOKEN. However, I think it's a super cool idea & I'd love to explore it more.

Unfortunately though, commits made on a GitHub repository will always show on the graph even if those commits are later removed through a force push.

According to the github contribution docs the commits that are counted in the graph are "in the repository's default branch". My first thought was that the commit history could be added to a different branch that replaces the repo's default branch, then the original default branch is deleted.

However: at a glance, it does not seem that the token is allowed to delete anything whatsoever? And It's unclear if it's allowed to change the default branch of a repo. πŸ€”

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions