{"id":14070634,"url":"https://github.com/linyows/github-issues-notice","last_synced_at":"2025-04-15T00:32:29.403Z","repository":{"id":40300528,"uuid":"163070512","full_name":"linyows/github-issues-notice","owner":"linyows","description":":octocat: Notify labeled issues to Slack","archived":false,"fork":false,"pushed_at":"2022-12-20T23:46:40.000Z","size":416,"stargazers_count":19,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T14:14:28.751Z","etag":null,"topics":["gas","github-issues","notify","slack"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linyows.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-12-25T09:56:52.000Z","updated_at":"2024-04-05T01:23:49.000Z","dependencies_parsed_at":"2023-01-30T02:15:36.451Z","dependency_job_id":null,"html_url":"https://github.com/linyows/github-issues-notice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linyows%2Fgithub-issues-notice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linyows%2Fgithub-issues-notice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linyows%2Fgithub-issues-notice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linyows%2Fgithub-issues-notice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linyows","download_url":"https://codeload.github.com/linyows/github-issues-notice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248984628,"owners_count":21193785,"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":["gas","github-issues","notify","slack"],"created_at":"2024-08-13T07:07:58.380Z","updated_at":"2025-04-15T00:32:29.386Z","avatar_url":"https://github.com/linyows.png","language":"TypeScript","readme":"GitHub Issues Notice\n==\n\nNotify slack the title of the specified repository and label issues on GAS.\n\n\u003ca href=\"https://github.com/linyows/github-issues-notice/actions\" title=\"actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/linyows/github-issues-notice/build.yml?branch=main\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/google/clasp\" title=\"clasp\"\u003e\u003cimg src=\"https://img.shields.io/badge/built%20with-clasp-4285f4.svg?style=for-the-badge\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/linyows/github-issues-notice/blob/master/LICENSE\" title=\"MIT License\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge\"\u003e\u003c/a\u003e\n\nSlack notification example is:\n\n\u003cimg src=\"https://github.com/linyows/github-issues-notice/blob/main/misc/example.png\" alt=\"example\" width=\"400\"\u003e\n\nUsage\n-----\n\n1. Deploy this\n    ```sh\n    $ npm i\n    $ npx clasp login\n    $ npx clasp create 'GitHub Issues Notice' --rootDir ./src\n    $ npx clasp push\n    ```\n1. Create google spreadsheet. For example:\n\n    Enabled | Channel | Time           | Mention | Repository         | Label/Threshold/Message                                   | Stats | Idle Period | Add Relations | Only P/R | Label Protection | Show Organization | No Holiday\n    ---     | ---     | ---            | ---     | ---                | ---                                                       | ---   | ---         | ---           | ---      | ---              | ---               | ---\n    [x]     | general | 09\u003cbr\u003e13\u003cbr\u003e17 | @dev    | foo/bar\u003cbr\u003efoo/baz | WIP/5/There are a lot of things in progress.              | [x]   | 60          | [x]           | [ ]      | [ ]              | [x]               | [ ]\n    [x]     | dev     | 13\u003cbr\u003e1750     | @sre    | foo/abc            | needs-review/3/@techlead Please need review.\u003cbr\u003eWIP/5/Yo. | [x]   | 45          | [ ]           | [x]      | [ ]              | [ ]               | [x]\n    [ ]     | ...     | ...            | ...     | ...                | ...                                                       | [ ]   |             | [ ]           | [ ]      | [x]              | [ ]               | [ ]\n    - Sheet name is `config`\n    - Config start 2nd row, 1st row is subject\n1. Set script properties as ENV(File \u003e Project properties \u003e Script properties)\n    - SLACK_ACCESS_TOKEN\n    - GITHUB_ACCESS_TOKEN\n    - SHEET_ID\n    - GITHUB_API_ENDPOINT(optional)\n1. Add project trigger(Edit \u003e Current project's triggers \u003e Add trigger)\n    - Choose which function to run: `notify`\n    - Which run at deployment: `head`\n    - Select event source: `Time-driven`\n    - Select type of time based trigger: `Minute timer`\n    - Select hour interval: `Every minute`\n\nStats\n--\n\nStats reports issues total count, pull-requests total count and reactive percent.\nReactive percent derives from `proactive` labeled issues and other issues count.\nIf no proactive labels, no reports.\nBy attaching `proactive` label to issues, it will be visible whether the work of\nthe team is healthy.\n\nIdle Period\n--\n\nIf there is a number of days in the Idle period, it will be automatically closed\nif there are no issues or pulls that have not been updated over that number of days.\nIf you do not want to use this function, please set it to blank or 0.\n\nAdd Relations\n--\n\nAdd relationship to notifications to Slack. Specifically, include assignees and reviewers.\nIf you use this option, you should set [code review assignments](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/managing-code-review-assignment-for-your-team) on Github.\n\nOnly P/R\n--\n\nThe target of monitoring is only pull requests other than draft.\n\nLabel Protection\n--\n\nClosed Issue is also monitored for Issue label. This will notify you of any issues that have been accidentally closed.\n\nShow Organization\n--\n\nAdd organization name to the display If you want to notify multiple organizations.\n\nNo Holiday\n--\n\nThis notification usually does not notify you on holidays. Use this option to run it regardless of holidays.\n\nContribution\n------------\n\n1. Fork (https://github.com/linyows/github-issues-notice/fork)\n1. Create a feature branch\n1. Commit your changes\n1. Rebase your local changes against the master branch\n1. Run test suite with the `npm ci` command and confirm that it passes\n1. Create a new Pull Request\n\nAuthor\n------\n\n[linyows](https://github.com/linyows)\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinyows%2Fgithub-issues-notice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinyows%2Fgithub-issues-notice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinyows%2Fgithub-issues-notice/lists"}