Skip to content

flows-network/github-summarize-issue-here

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summarize GitHub Issues with a Comment

flows.network Discord flows.network Twitter Create a flow

Can't spare the time to peruse lengthy issue posts? Let this bot lend a hand by summarizing the current issue on your GitHub repository and posting a recap as a comment. It could save you time and boost productivity.

Usage

To use the bot, comment on an issue with the trigger phrase you define. You can also specify the minimum number of comments required on an issue before the bot activates.

If you don't change the template, by default the bot will be triggered when an issue with 5 or more comments receives a comment containing @flows_summarize.

Deploy on your own repo

  1. Create a bot from the template
  2. Add your OpenAI API key
  3. Configure the bot to summarize issues on a specified GitHub repo

0 Prerequisites

You will need to bring your own OpenAI API key. If you do not already have one, sign up here.

You will also need to sign into flows.network using your GitHub account. It is free to join.

1 Create a bot from the template

Just click here

Review the trigger_phrase and n_commentsvariables.

  • trigger_phraseis the magic words you type in a issue comment to manually activate the bot. The default is @flows_summarize.
  • n_comments specifies the minimum number of comments required on an issue before the bot can activate. The default is 5.

Click on the Create and Build button.

2 Add your OpenAI API key

You will now set up OpenAI integration. Click on Connect, enter your key and give it a name.

image

Once added, close the tab and return to flows.network. Click on Continue.

3 Configure the bot to summarize issues on a specified GitHub repo

Next, you will tell the bot which GitHub repo it needs to monitor for issues to review.

  • github_owner: The GitHub org that owns the repo you want to deploy the bot on.
  • github_repo : The specific repo you want the bot to monitor.
Name Value
github_owner WasmEdge
github_repo wasmedge_hyper_demo

For example, to deploy this bot on the WasmEdge/wasmedge_hyper_demo repo, you'd set github_owner to WasmEdge and github_repo to wasmedge_hyper_demo.

Click Connect or + Add new authentication button to grant flows.network access to the GitHub repo to deploy the 🤖.

image

Once done, close the popup window and return to the flow.network page. Click on Deploy.

Wait for the magic!

This is it! You are now on the flow details page waiting for the flow function to build. As soon as the flow's status became running, the bot is ready to summarize issues! It will be summoned by commenting trigger phrase on the issues.