{"id":13600548,"url":"https://github.com/flows-network/pr-merge-notifier","last_synced_at":"2025-04-11T00:31:26.216Z","repository":{"id":173663278,"uuid":"607882018","full_name":"flows-network/pr-merge-notifier","owner":"flows-network","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-26T03:41:56.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-07T03:41:45.958Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flows-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-02-28T21:37:21.000Z","updated_at":"2023-06-09T08:25:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"574478fd-5016-4cbf-9a98-dc0058bc36fa","html_url":"https://github.com/flows-network/pr-merge-notifier","commit_stats":null,"previous_names":["flows-network/pr-merge-notifier"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fpr-merge-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fpr-merge-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fpr-merge-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flows-network%2Fpr-merge-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flows-network","download_url":"https://codeload.github.com/flows-network/pr-merge-notifier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322267,"owners_count":21084334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T18:00:41.787Z","updated_at":"2025-04-11T00:31:25.870Z","avatar_url":"https://github.com/flows-network.png","language":"Rust","funding_links":[],"categories":["GitHub"],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003eSend the contributor an email when the PR is merged\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://discord.gg/ccZn9ZMfFf\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/chat-Discord-7289DA?logo=discord\" alt=\"flows.network Discord\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/flows_network\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Twitter-1DA1F2?logo=twitter\u0026amp;logoColor=white\" alt=\"flows.network Twitter\"\u003e\n  \u003c/a\u003e\n   \u003ca href=\"https://flows.network/flow/createByTemplate/send-thank-you-email-to-contributor\"\u003e\n    \u003cimg src=\"https://img.shields.io/website?up_message=deploy\u0026url=https%3A%2F%2Fflows.network%2Fflow%2Fnew\" alt=\"Create a flow\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\n[Deploy this function on flows.network](#deploy-pr-merge-notifier-on-your-github-repo), and you will automate the work to get reach out to the contributors. When the Pull Request is merged by maintainers, send a thank-you email to the contributors automatically. \n\n\u003e This function works when the contributor has a public email on his/her profile page. If the contributor sets his/her email address private, then we can't send him an email.\n\n![image](https://user-images.githubusercontent.com/45785633/228182641-835276f6-7aa9-48c0-a16b-3ef9cf452d30.png)\n\n## Deploy PR Merge Notifier on your GitHub repo\n\n### 0 Prerequisite \n\n1. You will need a [Sendgrid API key](https://app.sendgrid.com/settings/api_keys). If you do not already have one, [sign up here](https://app.sendgrid.com/settings/api_keys).\n2. You will also need to sign into [flows.network](https://flows.network/) from your GitHub account. It is free.\n\n### 1 Create from a template\n\n[**Just click here**](https://flows.network/flow/createByTemplate/send-thank-you-email-to-contributor)\n\nClick on the **Create and Build** button.\n\n\n### 2 Configure the GitHub integration\n\nNext, you will tell the bot which GitHub repo it needs to monitor for upcoming PRs.\n\n* `github_owner`: GitHub org for the repo *you want to deploy the 🤖 on*.\n* `github_repo` : GitHub repo *you want to deploy the 🤖 on*.\n\n\u003e Let's see an example. You would like to deploy the bot on `WasmEdge/wasmedge_hyper_demo` repo. Here `github_owner = WasmEdge` and `github_repo = wasmedge_hyper_demo`.\n\nClick on the **Connect** or **+ Add new authentication** button to give the function access to the GitHub repo to deploy the 🤖. You'll be redirected to a new page where you must grant [flows.network](https://flows.network/) permission to the repo.\n\n[\u003cimg width=\"450\" alt=\"image\" src=\"https://github.com/flows-network/github-pr-summary/assets/45785633/6cefff19-9eeb-4533-a20b-03c6a9c89473\"\u003e](https://github.com/flows-network/github-pr-summary/assets/45785633/6cefff19-9eeb-4533-a20b-03c6a9c89473)\n\nClose the tab and go back to the flow.network page once you are done. Click on **Deploy**.\n\n### 3 Configure the SendGrid integration\n\nNext, you will need to set up the email. Here we use SendGrid to do this.\n\n* `sendgrid_sender_address`: the sender's email, which should be the same as your SendGrid setting.\n\n\u003cimg width=\"500\" alt=\"image\" src=\"https://github.com/flows-network/pr-merge-notifier/assets/45785633/fc52db79-f735-42dd-8c27-9e319b752dbd\"\u003e\n\nClick on the **Connect** or **+ Add new authentication** button to give the function access to use your email address. You'll be redirected to a new page where you must grant [flows.network](https://flows.network/) permission to your SendGrid account.\n\n  \n\u003cimg width=\"500\" alt=\"image\" src=\"https://user-images.githubusercontent.com/45785633/227570457-94ad1092-e483-436c-be4e-624d1faff18a.png\"\u003e\n\nClose the tab and go back to the flow.network page once you are done. Click on **Deploy**.\n\n## Wait for the magic\n\nAs soon as the flow function's status turns `ready` and the flow's status becomes `running`, the PR merge notifier goes live. Get connected with your contributor right away as contributors increase!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflows-network%2Fpr-merge-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflows-network%2Fpr-merge-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflows-network%2Fpr-merge-notifier/lists"}