Serverless React app for submitting templatized GitHub issues to a configured public or private repo.
- Set GitHub token in .env (see
.env.example
) - Set desired repo in src/config.json (e.g.
code-423n4/reporter
) - Configure form fields in src/config.json
Add Netlify deploy variables:
REACT_APP_GITHUB_TOKEN
You must pick one field to be named title
, which will become the issue's title.
To can set a labelAll
to be applied to all submitted issues.
You can also pick an additional field to be named label
in order to predefine a set of option labels as select options or to allow an open-ended label field. (The latter seems a little nuts, but hey, you do you.)
The rest of the fields will get added to the body. Each subsection of the body will start with a markdown header h2 that will use the label of that field.