Skip to content

Reduce commits by bot on the master branch  #523

@dhruvkb

Description

@dhruvkb

Description

The Creative Commons bot makes a very large number of commits to the master branch to keep issues synchronised between GitHub organisation and the issues databag in the repository. This should be reduced as it quickly leads to forks and clones going out of date. Every other copy of the repository goes stale almost every hour.

Reproduction

  1. Fork the repository and wait for a couple of hours.
  2. Your repository is now several commits behind creativecommons:master.

Expectation

The commits should either be infrequent, or atomically small, or on a different branch. One of the simplest ways to do that is to eliminate the updatedAt field from the data, as even changes to that field (which happen very frequently) lead to new commits. A more long term approach would be to setup serverless functions on Netlify/Vercel to proxy authenticated requests to GitHub on behalf of the client as in this example.

Resolution

  • I would be interested in resolving this bug.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions