{"id":27245507,"url":"https://github.com/yuu-eguci/continuouspr","last_synced_at":"2025-04-10T21:19:21.110Z","repository":{"id":51548365,"uuid":"335890172","full_name":"yuu-eguci/ContinuousPR","owner":"yuu-eguci","description":"This program posts Pull Request using api.github.com. It is worth using when you want to notify only about the PRs about project release.","archived":false,"fork":false,"pushed_at":"2021-07-12T00:24:03.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-03T13:12:31.413Z","etag":null,"topics":["github-actions","github-api","python3","slack"],"latest_commit_sha":null,"homepage":"","language":"Python","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/yuu-eguci.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}},"created_at":"2021-02-04T08:38:05.000Z","updated_at":"2021-07-12T00:24:06.000Z","dependencies_parsed_at":"2022-08-22T06:20:20.286Z","dependency_job_id":null,"html_url":"https://github.com/yuu-eguci/ContinuousPR","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuu-eguci%2FContinuousPR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuu-eguci%2FContinuousPR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuu-eguci%2FContinuousPR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuu-eguci%2FContinuousPR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuu-eguci","download_url":"https://codeload.github.com/yuu-eguci/ContinuousPR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298463,"owners_count":21080345,"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":["github-actions","github-api","python3","slack"],"created_at":"2025-04-10T21:19:20.640Z","updated_at":"2025-04-10T21:19:21.103Z","avatar_url":"https://github.com/yuu-eguci.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"ContinuousPR\n===\n\nThis program posts Pull Request using api.github.com.\nYou can do this only by hitting one api with curl. And also by using hub command or gh command.\nBut if you want the feature below, this program helps.\n\n- Send notification only about the PRs posted by this program,to Slack channel\n\nIt is worth using when you want to notify **only** about the PRs about project release.\n\n![readme](https://user-images.githubusercontent.com/28250432/117780660-cc672c80-b27a-11eb-9e95-2e8ff8d7856c.png)\n\n## Installation\n\n```bash\npipenv install\npipenv shell\npython main.py --head dev --base master\n```\n\n## Usage\n\n```plaintext\n# python main.py -h\nusage: main.py [-h] [-H HEAD] [-B BASE] [-S SLACK_NOTIFICATION] [-D DATE]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -H HEAD, --head HEAD  head -\u003e base\n  -B BASE, --base BASE  head -\u003e base\n  -S SLACK_NOTIFICATION, --slack-notification SLACK_NOTIFICATION\n                        Send release note message to Slack\n  -D DATE, --date DATE  Run this program only on this date\n```\n\n## .env\n\n```\n# 実際にプログラムが動く環境で必要な env(Heroku を想定)\nOWNER = ''\nREPO = ''\nTOKEN_REPO_SCOPE = ''\nSLACK_BOT_TOKEN = ''\nSLACK_MESSAGE_CHANNEL = ''\nPR_BODY = \"\"\n\n# CI/CD 環境で必要な env(GitHub Actions を想定)\nHEROKU_API_KEY = ''\nHEROKU_APP_NAME = ''\nHEROKU_EMAIL = ''\n```\n\n## .env\n\n```\n# 実際にプログラムが動く環境で必要な env(Heroku を想定)\nOWNER = ''\nREPO = ''\nTOKEN_REPO_SCOPE = ''\nSLACK_BOT_TOKEN = ''\nSLACK_MESSAGE_CHANNEL = ''\nPR_BODY = \"\"\n\n# CI/CD 環境で必要な env(GitHub Actions を想定)\nHEROKU_API_KEY = ''\nHEROKU_APP_NAME = ''\nHEROKU_EMAIL = ''\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuu-eguci%2Fcontinuouspr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuu-eguci%2Fcontinuouspr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuu-eguci%2Fcontinuouspr/lists"}