https://github.com/sof3/spammer
Spammer is a bot that will close, and lock issues if they are marked as spam.
https://github.com/sof3/spammer
Last synced: about 2 months ago
JSON representation
Spammer is a bot that will close, and lock issues if they are marked as spam.
- Host: GitHub
- URL: https://github.com/sof3/spammer
- Owner: SOF3
- License: mpl-2.0
- Created: 2018-03-09T04:31:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-08T19:51:55.000Z (over 8 years ago)
- Last Synced: 2025-03-20T09:51:17.405Z (over 1 year ago)
- Language: JavaScript
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT
Awesome Lists containing this project
README
# Spammer [](https://standardjs.com)
> The hosted version of this app is avalible at https://github.com/apps/spammer
## Setup
The first step is configuration, all you need to do is modify the `.env` file and add the private key from GitHub to `.data/spammer.pem`. This is a example of a `.env` file, keep not that you can skip the `.env` file and use regular enviroment varibles instead.
```bash
# GitHub Application Id
GITHUB_ISS=9768
# GitHub Application Webhook Secret
GITHUB_WEBHOOK=1234
```
# Usage
Alright, now go to a repository where the app is installed and create `.github/spammer.yml` with the following contents.
```yaml
# This is the title for all future spam issues.
title: "Spam"
# This is the modified body if the issue for all future spam issues.
body: "This issue has been locked and marked as spam, be careful."
```
**Perfect**, now head over to `/issues` and create a issue, then change the title to `!spam` and refresh.