Skip to content

rickygao/This-Repo-Does-Have-14-Stars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

This-Repo-Does-Have-X-Stars

The SIMPLEST-EVER "This-Repo-Has-X-Stars" implemented via GitHub Actions. The original idea comes from this repo.

Usage

  1. Fork this repo;
  2. Generate a personal access tokens with "public_repo" scope, and copy it;
  3. Set the token as a secret named "ADMIN_TOKEN" in the "Settings -> Secret" tab of your forked repo;
  4. Star your own repo, check "StarWatcher" workflow runs, and refresh the repo page in a minute.

Security

Don't worry about your token being used for malicious purposes. .github/workflows/star_watcher.yml describes how your generated token is used and it is only be used to update a repository.

Awesome

There are several awesome implementations via different approaches. Try them! ❤️

Limitations

Sadly, an unstar operation won't trigger a watch event for GitHub Actions. That is to say, the X cannot decrease. LOL, is it a blessing in disguise?

About

Yes, it's true, simply but ... roughly? 🍺

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published