Create GitHub Issues from a Web Form, No Account Needed

Turn reports from a form on your own site into GitHub issues, with the title and label set by the form and no GitHub account needed for the reporter.

in

Your issue tracker holds everything your team plans to fix, and a public form is the easiest way to hear about things your customers have noticed. Formspree’s GitHub plugin connects the two: every submission becomes an issue in the repository you choose, with the title and label pulled from the form.

In this article, we’ll show you how to set up this workflow for support requests: the form, plugin connection, spam protection, and a confirmation email for the person reporting. There’s no code to write or host, and the GitHub plugin is available on our Personal, Professional, and Business plans.

Where bug reports get stuck

GitHub already has a good intake path for people who use it. Issue templates and issue forms live in your repo as .yml, and when someone submits an issue form, their inputs become a standard Markdown issue comment.

But that path only works inside GitHub. Anyone can read a public repository’s issues, but when a signed-out visitor tries to open a new one, GitHub sends them to a login page. Everyone without an account has to reach you some other way, like email, chat, or a support inbox, and then someone on your team retypes each report into an issue. That copy step is the problem.

A form on your own domain gets rid of it. The reporter fills in a few fields on a docs page, in your app’s help menu, or in the footer, and the report shows up as an issue in the repo your team already watches. Formspree sits in between and stores every submission in its dashboard, so the tracker is never the only record.

This works well for bug reports, customer questions, feature requests, and “this page is wrong” forms on your docs. If everyone reporting already has a GitHub account, stick with GitHub’s issue forms. This setup is for when they don’t.

Pick a repository first

You’ll choose a repo while connecting the plugin, so decide that first. We recommend a private one. If you pick a public repo, Formspree warns you: “Caution: This is a public repo. Do not send sensitive data.” That warning matters, because the plugin copies the whole form into the issue. The message becomes the description, and every other input except subject and tags gets listed at the bottom under an Additional fields heading, including the reporter’s email address and any files they upload. In a public repo, anyone can see all of it.

So use a private repo for incoming requests. If you have to connect a public one, leave email and anything else private out of the form, and add a short privacy note next to the submit button. Just know that without an email field, you can’t send the confirmation email covered later. That’s one more reason to go private.

The form

A support form needs four things: a short summary for the title, a request type to pick the label, a description, and an email address so you can reply. Two special fields matter most to the plugin. subject becomes the issue title, and tags adds labels, which have to already exist in the repo. Every new GitHub repo comes with a set of default labels, including bug, documentation, enhancement, and question, so the form below uses those.

The HTML below uses YOUR_FORM_ID as a placeholder, so create the form in Formspree first. In the dashboard, click the plus sign in the top left, choose New Form, and name it. You’ll find the form’s endpoint in the Integration tab, under “Your form’s endpoint is:”. Paste that URL over the action attribute’s value, then add the HTML to your site wherever you want the form to appear. Our guide to building an HTML form covers this step in more detail.

  <form action="https://formspree.io/f/YOUR_FORM_ID" method="POST">
    <input type="text" name="_gotcha" style="display:none" />

    <label>
      Short summary
      <input type="text" name="subject" required />
    </label>

    <label>
      Type of request
      <select name="tags" required>
        <option value="bug">Bug report</option>
        <option value="question">Question</option>
        <option value="enhancement">Feature request</option>
        <option value="documentation">Docs feedback</option>
      </select>
    </label>

    <label>
      What happened, and what did you expect?
      <textarea name="message" rows="6" required></textarea>
    </label>

    <label>
      Email address
      <input type="email" name="email" required />
    </label>

    <button type="submit">Send request</button>
  </form>

message becomes the issue description. Everything else (just email here) goes below it under Additional fields as name: value lines, so if you add a browser or version field later, it shows up there too. File uploads come through as well, so you can add a screenshot field to a bug report form and the image lands right on the issue.

To add more than one label, separate them with commas, like bug,question. If a name doesn’t match a label in the repo, Formspree skips it and still creates the issue. So if you’ve renamed or deleted GitHub’s default labels, update the option values to match. Every issue also gets a formspree label, which Formspree creates for you, and tags itself is optional. On a docs site, you can swap the dropdown for a hidden tags input set to documentation, so every report from that page gets the right label.

The email field gives you a way to reply, and the confirmation email later on needs a field named exactly email. The _gotcha field is a honeypot. Bots fill in every field they find, so when _gotcha has a value, Formspree files the submission under Spam and skips the form’s actions. That means a bot doesn’t create an issue.

Connect the plugin

Open the form in the Formspree dashboard, go to the Workflow tab, click + Add New under Actions, and select GitHub under Productivity. The GitHub action opens with a Connect button.

The Add an action dialog in Formspree with GitHub listed under Productivity

Click Connect, and a GitHub popup asks you to authorize Formspree. It asks for read-only access to your profile, plus access to your public and private repositories. Once you approve, you’ll find Formspree in GitHub under Settings > Applications > Authorized OAuth Apps, listed with “Read all user profile data” and “Full control of private repositories.” You can revoke it there anytime. Since that’s broad access, connect with an account you’re comfortable granting it to. If you’ve authorized Formspree before, you’ll skip the popup and go straight to picking a repo.

The GitHub popup asking to authorize Formspree

Next, the GitHub action shows “Setup not finished” and asks which repo to create issues in. Pick your private repo and click Connect.

The GitHub action in Formspree asking which repository to create issues in

Once it’s connected, the GitHub action shows your account, the linked repo, and an Enabled toggle. To change the repo or turn the plugin off later, open the GitHub action again from the Workflow tab. Disconnect removes the connection entirely.

Now send a test request from the live form, then check the repo’s Issues tab. You’ll see your summary as the title, the message as the description, and the email under Additional fields. The issue gets two labels, formspree and the request type, and the author is the GitHub account you connected.

A GitHub issue created from the form, with the summary as the title, the message as the description, and the email under Additional fields

Need a label for a new request type? In the Issues tab, click Labels, then New label, give it a name, and click Create label. Anyone with write access to the repo can do this.

The Labels page of a GitHub repository with the default labels, the formspree label, and the New label button

Work through requests in GitHub

Every issue from the plugin has the formspree label, and the request type sorts them from there, so new requests are easy to find. Search the Issues tab for is:issue is:open label:"formspree", and add label:"bug" to see just bug reports.

Issues come in unassigned, and they’re opened under the account that connected the plugin, so the reporter’s details are in the description, not the author field. Assign each one to a teammate as it comes in. To let the reporter know you got it, set up the confirmation email below.

Keep spam out of the tracker

Every submission that gets through becomes an issue somebody has to read, so set up spam protection before the form goes live. You’ve got three layers to work with.

The _gotcha honeypot is already in the form. Bot submissions land in Spam, and no issue gets created.

CAPTCHA is off by default. To turn it on, open the form’s Settings tab and find CAPTCHA under Spam protection. It’s the most effective single layer for a public form.

Formshield, Formspree’s machine-learning spam filter, is in the same section. You can add adjustable filters to it on our Professional and Business plans.

Notify the team and confirm to the reporter

A form can run several actions on every submission, so GitHub doesn’t have to be the only one. Add a Slack or Discord action, and each request also posts to a channel, so your team sees it without opening GitHub. Add either one with + Add New under Actions.

The reporter should hear back too. Auto Response sends a confirmation email to whatever address is in the email field, and it’s available on the Professional and Business plans. You’ll fill in a From name, a Reply-to address from your linked emails, a Subject, and a Message, plus an optional custom template. Everyone gets the same message, since Auto Response can’t include submitted values like the reporter’s name. Something simple works: “Thanks for your request. It’s in our queue, and someone from the team will email you if we need more detail.”

The Workflow actions for the support form: an email notification, the GitHub action, and an Auto Response

When submissions don’t turn into issues

Formspree keeps every submission, so if one’s in your dashboard but there’s no matching issue in the repo, the GitHub connection is the place to look. Open the submission. Its details show a status for each action, and a delivered one reads github: processed. If there’s no issue, make sure the plugin still points at the right repo and the connected GitHub account still has access to it.

If an issue shows up without its request-type label, the tags value doesn’t match a label in the repo. Formspree skips labels it can’t find, so the issue only gets formspree. Fix the option value or create the missing label.

Where to start

Pick a private repo (or create one), build the form with subject, tags, and message, and connect the plugin from the Workflow tab. Send a test request and check the issue it creates. Turn on CAPTCHA before the form goes live, then add Slack or Auto Response once real requests start coming in.

FAQ

How do I let people without a GitHub account submit issues?

Put a Formspree form on your site and connect the GitHub plugin to it. Each submission creates an issue in the linked repository, and reporters just fill out a form. No GitHub account needed.

Which Formspree plan includes the GitHub plugin?

The GitHub plugin is available on the Personal, Professional, and Business plans.

Is it safe to connect a public repository to a public form?

Use a private repo if you can. The message and every other input, including the reporter’s email address, end up in the issue, and anyone can read that in a public repo. Formspree warns you when you pick a public one.

How do I add labels to issues created from a form?

Add an input named tags whose value is a label name, or several names separated by commas. Formspree skips any name that isn’t already a label in the repo, and it adds a formspree label to every issue.

Can a form assign the issue to someone?

No. Issues come in unassigned, so assign them in GitHub as they arrive.

What is the difference between a GitHub issue form and a Formspree form?

A GitHub issue form is a .yml template inside the repo, and its inputs become a standard Markdown issue comment. A Formspree form is plain HTML on your own site, and the plugin turns each submission into an issue.

Does Formspree keep submissions if the GitHub connection breaks?

Yes. Every submission stays in your Formspree dashboard no matter what happens on the GitHub side.


Got Feedback?