Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffrafter/honk-action
Honk 🗯
https://github.com/jeffrafter/honk-action
Last synced: 3 months ago
JSON representation
Honk 🗯
- Host: GitHub
- URL: https://github.com/jeffrafter/honk-action
- Owner: jeffrafter
- Created: 2019-09-30T16:12:27.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T11:47:41.000Z (about 2 years ago)
- Last Synced: 2024-10-11T11:05:40.105Z (4 months ago)
- Language: TypeScript
- Size: 804 KB
- Stars: 22
- Watchers: 4
- Forks: 3
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

A bot which requires all comments to contain 'honk' or it deletes them.

To use this bot add the following workflow to your repo at `.github/workflows/honk.yml`:
```yml
name: Honk workflow
on:
issue_comment:
types: [created]jobs:
build:
name: Honk
runs-on: ubuntu-latest
steps:
- uses: jeffrafter/honk-action@v1
```To see this in use, checkout [honk-test](https://github.com/jeffrafter/honk-test/issues).
## Development
Clone this repo. Then run tests:
```bash
npm test
```And lint:
```
npm run lint
```If you want to release a new version first checkout or create the release branch
```
git checkout releases/v1
```Then create the release:
```bash
git reset --hard master
npm test
npm run lint
npm run build
git add .
git commit -m "v1"
git push origin releases/v1
git push origin :refs/tags/v1
git tag -fa v1 -m "v1"
git push origin v1
```# Credits
Inspired by [Untitled Goose Game](https://goose.game/) and the Discord bot by [@melissamcewen](https://twitter.com/melissamcewen/status/1176980019811405824)
Note: not associated/affiliated with Unititled Goose Game in any way.