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
:
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.
Clone this repo. Then run tests:
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:
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
Inspired by Untitled Goose Game and the Discord bot by @melissamcewen
Note: not associated/affiliated with Unititled Goose Game in any way.