{"id":18828827,"url":"https://github.com/nekonenene/gh-pull-requests-slack-reminder","last_synced_at":"2026-01-23T06:30:18.810Z","repository":{"id":209732877,"uuid":"724671933","full_name":"nekonenene/gh-pull-requests-slack-reminder","owner":"nekonenene","description":"Notify Slack a list of pull requests with a specific label to inform the pull request to be reviewed.","archived":false,"fork":false,"pushed_at":"2024-03-27T01:43:44.000Z","size":36,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T06:15:18.670Z","etag":null,"topics":["cli","github","go","golang","pull-requests","slack"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nekonenene.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,"publiccode":null,"codemeta":null}},"created_at":"2023-11-28T14:59:50.000Z","updated_at":"2024-05-30T10:18:56.000Z","dependencies_parsed_at":"2024-11-08T01:37:38.042Z","dependency_job_id":"ebbe09cd-cfa4-4756-b3b3-9f305ea1b7f6","html_url":"https://github.com/nekonenene/gh-pull-requests-slack-reminder","commit_stats":null,"previous_names":["nekonenene/gh-pull-requests-slack-reminder"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-pull-requests-slack-reminder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-pull-requests-slack-reminder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-pull-requests-slack-reminder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nekonenene%2Fgh-pull-requests-slack-reminder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nekonenene","download_url":"https://codeload.github.com/nekonenene/gh-pull-requests-slack-reminder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239763987,"owners_count":19692867,"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":["cli","github","go","golang","pull-requests","slack"],"created_at":"2024-11-08T01:37:25.432Z","updated_at":"2025-02-20T02:22:34.380Z","avatar_url":"https://github.com/nekonenene.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gh-pull-requests-slack-reminder\n\nA CLI application that notifies to Slack with pull requests that have a specific label, like `in-review`.\n\n\n## Installation\n\n```sh\ngo install github.com/nekonenene/gh-pull-requests-slack-reminder@v1\n```\n\n## Usage\n\nFirst, you need to get GitHub API Token to control your repository, please see [here](https://docs.github.com/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token).  \nThe token needs the read-access permission of pull requests and issues.\n\n### Example\n\n```sh\ngh-pull-requests-slack-reminder --token 123456789abcd123456789abcd --owner nekonenene --repo my-repository-name --label-name \"in-review\" --webhook-url https://hooks.slack.com/services/XXXXXXXX --avoid-weekend\n```\n\n### Parameters\n\n| Parameter | Description | Required? |\n|:---:|:---:|:---:|\n|-token| GitHub API Token | YES |\n|-owner| Owner name of the repository (e.g. octocat) | YES |\n|-repo| Repository name (e.g. hello-world) | YES |\n|-label-name| Label name related to target pull requests (e.g. in-review) | YES |\n|-webhook-url| URL of Slack Incoming Webhook | YES |\n|-avoid-weekend| If set, don't send notifications on weekends |  |\n|-avoid-jp-holidays| If set, don't send notifications on Japanese holidays |  |\n|-enterprise-url| URL of GitHub Enterprise (e.g. https://github.your.domain ) |  |\n|-dry-run| If set, don't send notifications to Slack |  |\n\nAnd this command shows all parameters:\n\n```sh\ngh-pull-requests-slack-reminder --help\n```\n\n### Run with GitHub Actions\n\nAn example file of [GitHub Actions](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions):\n\n```yml\nname: Pull Request Review Reminder\non:\n  schedule:\n    # Exec on 0:30 and 6:30 UTC every day\n    - cron: \"30 0,6 * * *\"\n\njobs:\n  gh-pull-requests-slack-reminder:\n    name: gh-pull-requests-slack-reminder\n    runs-on: ubuntu-latest\n    env:\n      TZ: Asia/Tokyo\n    steps:\n      - uses: actions/setup-go@v5\n        with:\n          go-version: ^1.22.1\n      - name: Install gh-pull-requests-slack-reminder\n        run: go install github.com/nekonenene/gh-pull-requests-slack-reminder@v1\n      - name: Run gh-pull-requests-slack-reminder\n        run: \u003e\n          gh-pull-requests-slack-reminder\n          --token ${{ secrets.GITHUB_TOKEN }}\n          --owner ${{ github.repository_owner }}\n          --repo ${{ github.event.repository.name }}\n          --label-name \"in-review\"\n          --webhook-url \"https://hooks.slack.com/services/XXXXXXXX\"\n          --avoid-weekend\n```\n\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekonenene%2Fgh-pull-requests-slack-reminder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnekonenene%2Fgh-pull-requests-slack-reminder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnekonenene%2Fgh-pull-requests-slack-reminder/lists"}