Skip to content

mheap/github-repo-topic

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

github-repo-topic

Add or remove a topic to every repository in an organisation. Originally build to add the hacktoberfest topic to multiple repositories

Usage

You'll need to create a GitHub Token and make it available as GITHUB_TOKEN in your environment

export GITHUB_TOKEN=xxxxxxxxxxx
npx github-repo-topic add hacktoberfest --org my-org-name
npx github-repo-topic remove other-topic --org my-org-name

Possible improvements

  • Skip private repos
  • Skip archived repos
  • Support non-org accounts

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published