Guide
Save evaluations to GitHub Issues
Connect GitHub once and any finished evaluation becomes a GitHub issue in one click, with the score and the research behind it already written. Setup takes about two minutes.
Before you start
- A Spongeware Pro plan, or demo access. Connecting GitHub and saving evaluations are included in both.
- A GitHub account that can install apps on the repo you want issues in. For a personal repo that's you. For an organization repo it's an organization owner, or you can request the install and an owner approves it.
- Issues are opened by the GitHub account that connects, so connect with the account you want them to come from.
1. Sign in with GitHub
Open your project in Spongeware and go to Integrations. Click the GitHub card, then Connect GitHub. GitHub asks you to authorize Spongeware. Approve it and you land back on the Integrations page with the GitHub panel open.
2. Choose repos on GitHub
Signing in tells GitHub who you are, but it doesn't give Spongeware any repos yet. The panel now shows Step 2 of 2. Click Choose repos on GitHub, which opens GitHub in a new tab.
- Pick the account or organization that owns the repo.
- Choose Only select repositories and select the repos you want issues in. This keeps Spongeware's access as narrow as possible.
- Click Install, or Request if an organization owner needs to approve it.
3. Pick the repo for new issues
Switch back to the Spongeware tab. The repo list reloads by itself; if it doesn't, click Refresh. Choose a repo under Repo for new issues and click Save repo. If you installed the app on just one repo, it's already selected.
The panel now reads Saving to followed by the repo name, and the GitHub card on the Integrations page says Connected.
4. Save an evaluation
Open any evaluation that has finished. In the sidebar, under Save to, click GitHub. When the issue is created, the button turns into a link to it.
Each issue contains:
- The score and its band (Strong, Moderate or Weak)
- The feature as it was submitted, and the summary from the evaluation
- The research under two headings, “Why build it?” and “Why not?”
- The critical risk, when the evaluation found one
Spongeware only creates an issue when someone clicks the button. Nothing is saved automatically.
What Spongeware can see
The Spongeware app asks GitHub for permission to read and write issues, and nothing else. It can't read your code, and it only reaches the repos you chose in step 2. You can review or narrow that list at any time in GitHub under Settings, Applications, Installed GitHub Apps.
Change or disconnect
- Change in the GitHub panel picks a different repo for new issues. Issues already created stay where they are.
- Disconnect removes the connection from Spongeware. The app stays installed on your repos until you uninstall it in GitHub.
Troubleshooting
- My repo isn't in the list.
- The Spongeware app isn't installed on it yet. Under the list, click "Install the app on it", add the repo on GitHub, then come back to the Spongeware tab. The list reloads by itself.
- I asked to install the app on an organization and nothing showed up.
- If you aren't an owner of the organization, GitHub sends your request to its owners instead of installing the app. The repos appear once an owner approves it.
- The card says "Needs reconnect".
- GitHub stopped accepting Spongeware's access. That happens when the app's authorization is revoked in GitHub, or when nobody has used the connection for about six months. Open the GitHub panel and click Reconnect GitHub. Your repo choice is kept.
- Saving says the repo isn't accessible.
- The repo was removed from the app's access, renamed, deleted, or had Issues turned off. Re-add it on GitHub, or click Change in the GitHub panel and pick another repo.
- I see "Resubscribe to send evaluations to your tracker".
- Your subscription has ended, so connecting a tracker and saving evaluations are paused. Resubscribe from Billing and they work again, with your connection and settings as you left them.
- I clicked Cancel on GitHub.
- Nothing was connected. Click Connect GitHub again whenever you're ready.