{"id":17087199,"url":"https://github.com/nvdaes/build-discussion","last_synced_at":"2026-05-01T10:32:51.780Z","repository":{"id":211332362,"uuid":"728797041","full_name":"nvdaes/build-discussion","owner":"nvdaes","description":"Creates a GitHub discussion","archived":false,"fork":false,"pushed_at":"2026-04-13T19:10:06.000Z","size":3125,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-13T21:14:51.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/nvdaes.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-07T18:03:03.000Z","updated_at":"2026-04-02T16:33:33.000Z","dependencies_parsed_at":"2026-01-06T05:05:34.665Z","dependency_job_id":null,"html_url":"https://github.com/nvdaes/build-discussion","commit_stats":null,"previous_names":["nvdaes/build-discussion"],"tags_count":37,"template":false,"template_full_name":"actions/javascript-action","purl":"pkg:github/nvdaes/build-discussion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvdaes%2Fbuild-discussion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvdaes%2Fbuild-discussion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvdaes%2Fbuild-discussion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvdaes%2Fbuild-discussion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nvdaes","download_url":"https://codeload.github.com/nvdaes/build-discussion/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nvdaes%2Fbuild-discussion/sbom","scorecard":{"id":699212,"data":{"date":"2025-08-11","repo":{"name":"github.com/nvdaes/build-discussion","commit":"a9616ada76524a70b6ea34a5fbaa8eadc48f384b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/1 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":"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":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":8,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/check-dist.yml:29","Warn: jobLevel 'statuses' permission set to 'write': .github/workflows/check-dist.yml:30","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci.yml:52","Info: topLevel 'contents' permission set to 'read': .github/workflows/check-dist.yml:21","Info: topLevel 'contents' permission set to 'read': .github/workflows/ci.yml:13","Info: topLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:25","Info: topLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:26","Warn: topLevel 'security-events' permission set to 'write': .github/workflows/codeql-analysis.yml:27","Info: topLevel 'contents' permission set to 'read': .github/workflows/linter.yml:12","Info: topLevel 'packages' permission set to 'read': .github/workflows/linter.yml:13","Warn: topLevel 'statuses' permission set to 'write': .github/workflows/linter.yml:14"],"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":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check-dist.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/check-dist.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/ci.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/codeql-analysis.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/linter.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/linter.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/linter.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/linter.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/nvdaes/build-discussion/linter.yml/main?enable=pin","Info:   0 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand dependencies pinned"],"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":"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":"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":"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/nvdaes/.github/SECURITY.md:1","Info: Found linked content: github.com/nvdaes/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/nvdaes/.github/SECURITY.md:1","Info: Found text in security policy: github.com/nvdaes/.github/SECURITY.md:1"],"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":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (29) 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"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cxrh-j4jr-qwg3"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T04:43:49.805Z","repository_id":211332362,"created_at":"2025-08-22T04:43:49.805Z","updated_at":"2025-08-22T04:43:49.805Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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"}},"keywords":[],"created_at":"2024-10-14T13:31:35.899Z","updated_at":"2026-05-01T10:32:51.772Z","avatar_url":"https://github.com/nvdaes.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build discussion action\n\nThis action creates a GitHub discussion using the GitHub CLI.\n\nIt's inspired by the\n[Create GitHub discussion action](https://github.com/marketplace/actions/create-github-discussion),\nby @abirismyname.\n\n## Implementation\n\nThis is a **composite action** that uses the GitHub CLI (`gh`) to interact with\nthe GitHub GraphQL API. It requires no bundling or JavaScript dependencies,\nmaking it simple to maintain and contribute to.\n\n## Version History\n\n### Version 2 (Current)\n\n- **Implementation**: Composite action using GitHub CLI\n- **Runtime**: Shell script (Bash)\n- **Dependencies**: None (uses pre-installed `gh` CLI)\n- **Compatibility**: Drop-in replacement for v1 - all inputs and outputs remain\n  identical\n\n### Version 1 (Legacy)\n\n- **Implementation**: JavaScript action using Node.js\n- **Runtime**: Node.js 20\n- **Dependencies**: Bundled JavaScript packages\n\n**Migration Note**: Version 2 is fully backward compatible with version 1. No\nworkflow changes are required. The GitHub CLI (`gh`) is pre-installed on all\nGitHub-hosted runners.\n\n## Inputs\n\n### `repository`\n\nThe repository where the discussion should be created. Default\n`${{ github.repository }}`.\n\n### `token`\n\nGitHub token. Default `${{ github.token }}`.\n\n### `category-position`\n\nThe position of the category for the discussion, starting with 1 for the first\navailable category. Default `1`.\n\n### `title`\n\nDiscussion title. Default `Discussion created with Build discussion action`.\n\n### `body`\n\nDiscussion body. Default `This is the discussion body`.\n\n## Outputs\n\n### `discussion-id`\n\nDiscussion ID.\n\n### `discussion-url`\n\nDiscussion URL.\n\n### `discussion-number`\n\nDiscussion number.\n\n## Example usage\n\n```yaml\n- name: Build discussion\n  id: build-discussion\n  uses: nvdaes/build-discussion@v2\n  with:\n    repository: owner/repo\n    category-position: 1\n    title: My GitHub discussion\n    body: |\n      My body.\n      Can be multiline.\n\n- name: Print Output\n  id: output\n  run: |\n    echo \"${{ steps.build-discussion.outputs.discussion-id }}\"\n    echo \"${{ steps.build-discussion.outputs.discussion-url }}\"\n    echo \"${{ steps.build-discussion.outputs.discussion-number }}\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvdaes%2Fbuild-discussion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnvdaes%2Fbuild-discussion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnvdaes%2Fbuild-discussion/lists"}