A GitHub Action help you star or unstar a repository.
https://github.com/actions-cool/star-helper/blob/main/.github/workflows/star.yml
name: Star Helper
on:
schedule:
- cron: '0 0 * * *'
jobs:
star-helper:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/star-helper@v1.1.0
with:
token: ${{ secrets.STAR_TOKEN }}
actions: 'unstar, star'
repo: 'actions-cool/star-helper'
Name | Desc | Type | Required |
---|---|---|---|
token | GitHub token. Cannot use default token. | string | โ |
actions | The actions. Option star unstar . |
string | โ |
repo | The repository owner and name. | string | โ |
token
: Need to use personal authentication token- https://github.com/settings/tokens/new
- Select
repo: Full control of private repositories
- Add token to your Actions
- Help you understand
repo
: If it is not filled in, it will read the current repository- You can add this Action to any project. How trigger. Enjoy it
star-count
: Return the repository star count after actions.
You are very welcome to try it out and put forward your comments. You can use the following methods:
- Report bugs or consult with Issue
- Submit Pull Request to improve the code of
star-helper
ไนๆฌข่ฟๅ ๅ ฅ ้้ไบคๆต็พค