ouuan/This repo has x stars y forks action
Update repository description to "This repo has x stars y forks".
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | A GitHub Personal Access Token with the public_repo scope. GITHUB_TOKEN is not available because it doesn't have enough permission to update the description of the repo. | yes | — |
| repo | The repository to update, in the "<owner>/<name>" format. | no | ${{ github.repository }} |
| type | Which one to update. Either "name" or "description". | no | description |
| template | The repository description. You can use the following place holders: - <starCount>: <the number of stars> - <forkCount>: <the number of forks> - <name>: this-repo-has-<stars>-stars-<forks>-forks - <description>: This repo has <stars> stars <forks> forks - <auto>: <${ inputs.type }> - <name-stars>: this-repo-has-<stars>-stars - <description-stars>: This repo has <stars> stars - <auto-stars>: <${ inputs.type }-stars> - <name-forks>: this-repo-has-<forks>-forks - <description-forks>: This repo has <forks> forks - <auto-forks>: <${ inputs.type }-forks> | no | <auto> |
Outputs
no outputs