https://github.com/suzuki-shunsuke/watch-star-action
Notify your repository's stars to GitHub Issues
https://github.com/suzuki-shunsuke/watch-star-action
Last synced: about 1 month ago
JSON representation
Notify your repository's stars to GitHub Issues
- Host: GitHub
- URL: https://github.com/suzuki-shunsuke/watch-star-action
- Owner: suzuki-shunsuke
- License: mit
- Created: 2023-09-13T00:05:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-16T02:07:53.000Z (about 2 months ago)
- Last Synced: 2025-03-16T03:19:19.135Z (about 2 months ago)
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# watch-star-action
Notify your repository's stars to GitHub Issues

## Motivation
By subscribing the issue, you can receive the notification immediately when the repository gets a star.
GitHub Stars will motivate you.## How to use
1. Create a GitHub Issue to send comments
1. Add a GitHub Actions Workflow```yaml
---
name: watch
on:
watch:
types:
- started
jobs:
watch-star:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: suzuki-shunsuke/[email protected]
with:
number: 167 # Change the issue number
```## Note
This action requires GitHub CLI (gh).
This action assumes that the workflow run is triggered by a watch:started event.## Inputs
### Required
- `number` (integer): The GitHub Issue number
### Optional
- `body` (string): The comment body
- `github_token` (string): GitHub Access Token to post comments. The permission `issues: write` is necessary
- `repo` (string): GitHub Repository to post comments. The default is `$GITHUB_REPOSITORY`## Outputs
Nothing.
## LICENSE
[MIT](LICENSE)