{"id":7743618,"name":"ostk0069/github-discussions-notifier","ecosystem":"actions","description":"Notify GitHub Discussion \u0026 Comment to Slack","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/ostk0069/github-discussions-notifier","keywords_array":["notification","slack"],"namespace":"ostk0069","versions_count":3,"first_release_published_at":"2022-12-08T07:17:51.000Z","latest_release_published_at":"2023-05-11T11:26:35.000Z","latest_release_number":"v0.0.3","last_synced_at":"2026-09-03T14:37:29.864Z","created_at":"2023-05-17T08:44:55.117Z","updated_at":"2026-09-15T21:22:24.412Z","registry_url":"https://github.com/ostk0069/github-discussions-notifier","install_command":null,"documentation_url":null,"metadata":{"name":"GitHub Discussions Notifier","description":"Notify GitHub Discussion \u0026 Comment to Slack","branding":{"icon":"at-sign","color":"orange"},"inputs":{"SLACK_CHANNEL_ID":{"description":"Slack Channel Id","required":true},"SLACK_BOT_TOKEN":{"description":"Slack Bot Token","required":true},"send-discussion-create":{"description":"send discussion create notification?","required":false,"default":true},"send-discussion-comment":{"description":"send discussion comment notification?","required":false,"default":true},"unfurl-links":{"description":"Pass true to enable unfurling of primarily text-based content.","required":false,"default":false},"unfurl-media":{"description":"Pass false to disable unfurling of media content.","required":false,"default":false}},"runs":{"using":"composite","steps":[{"name":"Send GitHub Discussion Notification to Slack","if":"${{ github.event.discussion \u0026\u0026 !github.event.comment \u0026\u0026 inputs.send-discussion-create }}","run":"title=$(\ncat \u003c\u003c\"EOF\"\n${{ env.DISCUSSION_TITLE }}\nEOF\n)\nbody=$(\ncat \u003c\u003c\"EOF\"\n${{ env.DISCUSSION_BODY }}\nEOF\n)\nprintf -v markdown_message_unescaped %b \"\u003c${{ env.DISCUSSION_URL }}|*$title*\u003e\\n$body\"\njq -n -r --arg text \"$markdown_message_unescaped\" '{\n  \"token\":\"${{ inputs.SLACK_BOT_TOKEN }}\",\n  \"channel\":\"${{ inputs.SLACK_CHANNEL_ID }}\",\n  \"blocks\":[\n    {\n      \"type\":\"section\",\n      \"text\":{\n        \"type\":\"mrkdwn\",\n        \"text\":\"New Discussion by \u003c${{ env.USER_URL }}|${{ env.USER_NAME }}\u003e\"\n      }\n    }\n  ],\n  \"attachments\":[\n    {\n      \"blocks\":[\n        {\n          \"type\":\"section\",\n          \"text\":{\n            \"type\":\"mrkdwn\",\n            \"text\":$text\n          }\n        }\n      ]\n    }\n  ],\n  \"unfurl_links\": ${{ inputs.unfurl-links }},\n  \"unfurl_media\": ${{ inputs.unfurl-media }}\n}\n'|curl -X POST -H 'Authorization: Bearer ${{ inputs.SLACK_BOT_TOKEN }}' -H \"Content-Type: application/json\" -d @- https://slack.com/api/chat.postMessage\n","shell":"bash","env":{"DISCUSSION_URL":"${{ github.event.discussion.html_url }}","DISCUSSION_TITLE":"${{ github.event.discussion.title }}","DISCUSSION_BODY":"${{ github.event.discussion.body }}","USER_URL":"${{ github.event.discussion.user.html_url }}","USER_NAME":"${{ github.event.discussion.user.login }}"}},{"name":"Send GitHub Discussions Comment Notification to Slack","if":"${{ github.event.comment \u0026\u0026 inputs.send-discussion-comment }}","run":"title=$(cat \u003c\u003c \"EOF\"\n${{ env.DISCUSSION_TITLE }}\nEOF\n)\nbody=$(cat \u003c\u003c \"EOF\"\n${{ env.COMMENT_BODY }}\nEOF\n)\nprintf -v markdown_message_unescaped %b \"*\u003c${{ env.COMMENT_URL }}|Comment on $title\u003e*\\n$body\"\njq -n -r --arg text \"$markdown_message_unescaped\" '{\n  \"token\":\"${{ inputs.SLACK_BOT_TOKEN }}\",\n  \"channel\":\"${{ inputs.SLACK_CHANNEL_ID }}\",\n  \"blocks\":[\n    {\n      \"type\":\"section\",\n      \"text\":{\n        \"type\":\"mrkdwn\",\n        \"text\":\"New comment by \u003c${{ env.USER_URL }}|${{ env.USER_NAME }}\u003e\"\n      }\n    }\n  ],\n  \"attachments\":[\n    {\n      \"blocks\":[\n        {\n          \"type\":\"section\",\n          \"text\":{\n            \"type\":\"mrkdwn\",\n            \"text\":$text\n          }\n        }\n      ]\n    }\n  ],\n  \"unfurl_links\": ${{ inputs.unfurl-links }},\n  \"unfurl_media\": ${{ inputs.unfurl-media }}\n}\n'|curl -X POST -H 'Authorization: Bearer ${{ inputs.SLACK_BOT_TOKEN }}' -H \"Content-Type: application/json\" -d @- https://slack.com/api/chat.postMessage\n","shell":"bash","env":{"DISCUSSION_TITLE":"${{ github.event.discussion.title }}","COMMENT_URL":"${{ github.event.comment.html_url }}","COMMENT_BODY":"${{ github.event.comment.body }}","USER_URL":"${{ github.event.comment.user.html_url }}","USER_NAME":"${{ github.event.comment.user.login }}"}}]},"default_branch":"main","path":null},"repo_metadata":{"id":64654411,"uuid":"575666848","full_name":"ostk0069/github-discussions-notifier","owner":"ostk0069","description":"Notify GitHub Discussion \u0026 Comment to Slack","archived":false,"fork":false,"pushed_at":"2023-10-04T14:23:32.000Z","size":21,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-09-03T14:37:28.605Z","etag":null,"topics":["notification","slack"],"latest_commit_sha":null,"homepage":"","language":null,"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/ostk0069.png","metadata":{},"created_at":"2022-12-08T02:57:18.000Z","updated_at":"2024-12-22T06:01:35.000Z","dependencies_parsed_at":"2023-01-05T05:32:19.890Z","dependency_job_id":null,"html_url":"https://github.com/ostk0069/github-discussions-notifier","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":"snow-actions/composite-action-template","purl":"pkg:github/ostk0069/github-discussions-notifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ostk0069","download_url":"https://codeload.github.com/ostk0069/github-discussions-notifier/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/sbom","scorecard":{"id":713947,"data":{"date":"2025-08-11","repo":{"name":"github.com/ostk0069/github-discussions-notifier","commit":"92487beb5c101b42cbf63836061503428cc30446"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T08:57:17.168Z","repository_id":64654411,"created_at":"2025-08-22T08:57:17.168Z","updated_at":"2025-08-22T08:57:17.168Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37346927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-15T02:00:05.939Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"ostk0069","name":"Takuma Osada","uuid":"27538852","kind":"user","description":"Native App Engineer / Developer","email":"","website":null,"location":"Tokyo, Japan","twitter":"ostk0069","company":"CyberAgent, Inc","icon_url":"https://avatars.githubusercontent.com/u/27538852?u=dc138022f47ebbe1338325799b36a56364621c6c\u0026v=4","repositories_count":10,"last_synced_at":"2023-03-06T01:51:23.421Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ostk0069","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-16T02:37:57.588Z","updated_at":"2023-03-06T01:51:23.459Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ostk0069","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ostk0069/repositories"},"tags":[{"name":"v0.0.3","sha":"92487beb5c101b42cbf63836061503428cc30446","kind":"commit","published_at":"2023-05-11T11:26:35.000Z","download_url":"https://codeload.github.com/ostk0069/github-discussions-notifier/tar.gz/v0.0.3","html_url":"https://github.com/ostk0069/github-discussions-notifier/releases/tag/v0.0.3","dependencies_parsed_at":"2023-06-02T00:54:18.040Z","dependency_job_id":null,"purl":"pkg:github/ostk0069/github-discussions-notifier@v0.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/tags/v0.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/tags/v0.0.3/manifests"},{"name":"v0.0.2","sha":"56238fcca06e99a861eac46d1f34cbd3ab01dfe8","kind":"commit","published_at":"2022-12-12T02:23:35.000Z","download_url":"https://codeload.github.com/ostk0069/github-discussions-notifier/tar.gz/v0.0.2","html_url":"https://github.com/ostk0069/github-discussions-notifier/releases/tag/v0.0.2","dependencies_parsed_at":"2023-06-01T09:19:56.232Z","dependency_job_id":null,"purl":"pkg:github/ostk0069/github-discussions-notifier@v0.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/tags/v0.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/tags/v0.0.2/manifests"},{"name":"v0.0.1","sha":"0d9cacbeb9cdc014c91b4a0b67c6370da7d0606f","kind":"commit","published_at":"2022-12-08T07:17:51.000Z","download_url":"https://codeload.github.com/ostk0069/github-discussions-notifier/tar.gz/v0.0.1","html_url":"https://github.com/ostk0069/github-discussions-notifier/releases/tag/v0.0.1","dependencies_parsed_at":"2023-06-01T09:19:56.355Z","dependency_job_id":null,"purl":"pkg:github/ostk0069/github-discussions-notifier@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ostk0069%2Fgithub-discussions-notifier/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-09-15T21:22:24.412Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.775788306132153,"dependent_packages_count":0.0,"stargazers_count":19.857391855490413,"forks_count":35.17033750594201,"docker_downloads_count":null,"average":19.950879416891144},"purl":"pkg:githubactions/ostk0069/github-discussions-notifier","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/ostk0069/github-discussions-notifier","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/ostk0069/github-discussions-notifier","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/ostk0069/github-discussions-notifier/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ostk0069%2Fgithub-discussions-notifier/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ostk0069%2Fgithub-discussions-notifier/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ostk0069%2Fgithub-discussions-notifier/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ostk0069%2Fgithub-discussions-notifier/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ostk0069%2Fgithub-discussions-notifier/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/ostk0069%2Fgithub-discussions-notifier/codemeta","maintainers":[]}