{"id":5814041,"name":"bfren/read-file","ecosystem":"actions","description":"Read the contents of any file in a repository","homepage":"","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/bfren/read-file","keywords_array":["action"],"namespace":"bfren","versions_count":5,"first_release_published_at":"2021-09-24T08:03:37.000Z","latest_release_published_at":"2022-11-02T16:45:21.000Z","latest_release_number":"v2.0.0","last_synced_at":"2026-09-08T23:52:27.267Z","created_at":"2023-01-06T00:00:34.806Z","updated_at":"2026-09-14T00:07:00.829Z","registry_url":"https://github.com/bfren/read-file","install_command":null,"documentation_url":null,"metadata":{"name":"Read Any File","description":"Read the contents of any file in a repository","branding":{"icon":"file-text","color":"green"},"inputs":{"file":{"description":"The path of the file to be read, relative to the repository root","required":true,"default":"./VERSION"}},"outputs":{"contents":{"description":"The contents of the file"}},"runs":{"using":"docker","image":"Dockerfile","args":["${{ inputs.file }}"]},"default_branch":"main","path":null},"repo_metadata":{"id":65155365,"uuid":"409876582","full_name":"bfren/read-file","owner":"bfren","description":"Reads any file from a repository for use in a GitHub action.","archived":false,"fork":false,"pushed_at":"2025-12-18T09:10:44.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-09-09T01:11:43.459Z","etag":null,"topics":["action"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"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/bfren.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"bfren","patreon":"bfren"}},"created_at":"2021-09-24T07:40:47.000Z","updated_at":"2025-12-18T09:10:48.000Z","dependencies_parsed_at":"2023-01-05T13:18:32.847Z","dependency_job_id":null,"html_url":"https://github.com/bfren/read-file","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"7a6900c98f6e41a97fd07baa22651b26324fc9fd"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bfren/read-file","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfren","download_url":"https://codeload.github.com/bfren/read-file/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/sbom","scorecard":{"id":235936,"data":{"date":"2025-08-11","repo":{"name":"github.com/bfren/read-file","commit":"7a6900c98f6e41a97fd07baa22651b26324fc9fd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/26 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":"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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/bfren/read-file/test.yml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine to alpine@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 containerImage 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":"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"}}]},"last_synced_at":"2025-08-17T05:46:03.957Z","repository_id":65155365,"created_at":"2025-08-17T05:46:03.957Z","updated_at":"2025-08-17T05:46:03.957Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37297091,"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-13T02:00:22.117Z","response_time":122,"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":"bfren","name":null,"uuid":"17511478","kind":"user","description":"Vicaring mostly, coding elsely.","email":"","website":"https://bfren.dev","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/17511478?v=4","repositories_count":73,"last_synced_at":"2026-09-09T10:38:29.427Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/bfren","funding_links":["https://github.com/sponsors/bfren"],"total_stars":79,"followers":5,"following":1,"created_at":"2022-11-14T08:07:55.793Z","updated_at":"2026-09-09T10:38:29.468Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfren","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfren/repositories"},"tags":[{"name":"v2.0.0","sha":"7a6900c98f6e41a97fd07baa22651b26324fc9fd","kind":"commit","published_at":"2022-11-02T16:45:21.000Z","download_url":"https://codeload.github.com/bfren/read-file/tar.gz/v2.0.0","html_url":"https://github.com/bfren/read-file/releases/tag/v2.0.0","dependencies_parsed_at":"2023-06-01T10:41:49.703Z","dependency_job_id":null,"purl":"pkg:github/bfren/read-file@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v2.0.0/manifests"},{"name":"v2","sha":"7a6900c98f6e41a97fd07baa22651b26324fc9fd","kind":"commit","published_at":"2022-11-02T16:45:21.000Z","download_url":"https://codeload.github.com/bfren/read-file/tar.gz/v2","html_url":"https://github.com/bfren/read-file/releases/tag/v2","dependencies_parsed_at":"2023-06-01T10:41:50.145Z","dependency_job_id":null,"purl":"pkg:github/bfren/read-file@v2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v2/manifests"},{"name":"v1.0.1","sha":"25becde0e7b5238af85670095cb2ead650cca72b","kind":"commit","published_at":"2021-09-24T12:54:00.000Z","download_url":"https://codeload.github.com/bfren/read-file/tar.gz/v1.0.1","html_url":"https://github.com/bfren/read-file/releases/tag/v1.0.1","dependencies_parsed_at":"2023-06-01T10:41:50.547Z","dependency_job_id":null,"purl":"pkg:github/bfren/read-file@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v1.0.1/manifests"},{"name":"v1","sha":"25becde0e7b5238af85670095cb2ead650cca72b","kind":"commit","published_at":"2021-09-24T12:54:00.000Z","download_url":"https://codeload.github.com/bfren/read-file/tar.gz/v1","html_url":"https://github.com/bfren/read-file/releases/tag/v1","dependencies_parsed_at":"2023-06-01T10:41:51.424Z","dependency_job_id":null,"purl":"pkg:github/bfren/read-file@v1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v1/manifests"},{"name":"v1.0.0","sha":"9e5ea051b12222567edb05b16202ab71832ed3f1","kind":"commit","published_at":"2021-09-24T08:03:37.000Z","download_url":"https://codeload.github.com/bfren/read-file/tar.gz/v1.0.0","html_url":"https://github.com/bfren/read-file/releases/tag/v1.0.0","dependencies_parsed_at":"2023-06-01T10:41:50.959Z","dependency_job_id":null,"purl":"pkg:github/bfren/read-file@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-14T00:07:00.828Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":57,"rankings":{"downloads":null,"dependent_repos_count":6.071937886230391,"dependent_packages_count":0.0,"stargazers_count":34.73617493265726,"forks_count":35.20202820472191,"docker_downloads_count":null,"average":19.00253525590239},"purl":"pkg:githubactions/bfren/read-file","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/bfren/read-file","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/bfren/read-file","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/bfren/read-file/dependencies","status":null,"funding_links":["https://github.com/sponsors/bfren","https://patreon.com/bfren"],"critical":null,"issue_metadata":{"last_synced_at":"2025-05-24T05:09:17.759Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfren%2Fread-file/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/bfren%2Fread-file/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/bfren%2Fread-file/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/bfren%2Fread-file/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/bfren%2Fread-file/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/bfren%2Fread-file/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/bfren%2Fread-file/codemeta","maintainers":[]}