{"id":5791824,"name":"essentialkaos/shellcheck-action","ecosystem":"actions","description":"Action for checking scripts with Shellcheck","homepage":"https://kaos.sh/shellcheck-action","licenses":"apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/essentialkaos/shellcheck-action","keywords_array":["github-action","github-action-shell","github-actions"],"namespace":"essentialkaos","versions_count":1,"first_release_published_at":"2022-10-21T23:34:41.000Z","latest_release_published_at":"2022-10-21T23:34:41.000Z","latest_release_number":"v1","last_synced_at":"2026-04-14T10:50:25.355Z","created_at":"2023-01-03T21:47:05.614Z","updated_at":"2026-04-14T10:59:02.101Z","registry_url":"https://github.com/essentialkaos/shellcheck-action","install_command":null,"documentation_url":null,"metadata":{"name":"EK Shellcheck","description":"Action for checking scripts with Shellcheck","author":"ESSENTIALKAOS","branding":{"icon":"hash","color":"white"},"inputs":{"files":{"description":"List of scripts for checking","required":true},"version":{"description":"Version of Shellcheck","required":false,"default":"0.11.0"},"severity":{"description":"Minimum severity of errors to consider","required":false},"format":{"description":"The output format for the results (checkstyle/diff/gcc/json/json1/quiet/tty)","required":false},"shell":{"description":"Script dialect (sh, bash, dash, ksh)","required":false}},"runs":{"using":"composite","steps":[{"id":"shellcheck-bin-cache","name":"Cache Shellcheck binary","uses":"actions/cache@v5","with":{"path":"~/.cache/shellcheck","key":"${{runner.os}}-ek-shellcheck-action-v${{inputs.version}}"}},{"id":"shellcheck-install","name":"Install Shellcheck","if":"steps.shellcheck-bin-cache.outputs.cache-hit != 'true'","shell":"bash","run":"# [shellcheck-install]\n\necho -e \"::group::\\033[34mDownloading Shellcheck…\\033[0m\"\n\nmkdir -p ~/.cache\nsc_url=\"https://github.com/koalaman/shellcheck/releases/download\"\n\nif [[ \"$RUNNER_OS\" == \"Linux\" ]] ; then\n  wget -O shellcheck.tar.xz \"${sc_url}/v${{inputs.version}}/shellcheck-v${{inputs.version}}.linux.x86_64.tar.xz\" 2\u003e\u00261\nelif [[ \"$RUNNER_OS\" == \"macOS\" ]] ; then\n  wget -O shellcheck.tar.xz \"${sc_url}/v${{inputs.version}}/shellcheck-v${{inputs.version}}.darwin.x86_64.tar.xz\" 2\u003e\u00261\nelse\n  echo \"::endgroup::\"\n  echo \"$RUNNER_OS is not supported\"\n  exit 1\nfi\n\necho \"::endgroup::\"\necho -e \"::group::\\033[34mUnpacking Shellcheck…\\033[0m\"\n\ntar xfv shellcheck.tar.xz -C \"$GITHUB_ACTION_PATH\"\n\nmv \"$GITHUB_ACTION_PATH/shellcheck-v${{inputs.version}}/shellcheck\" \\\n   ~/.cache/shellcheck\n\necho \"::endgroup::\"\n"},{"id":"shellcheck-set-options","name":"Set Shellcheck options","shell":"bash","run":"# [shellcheck-set-options]\n\ndeclare -a options\n\nif [[ -n \"${{inputs.format}}\" ]] ; then\n  options+=(\"--format=${{inputs.format}}\")\nfi\n\nif [[ -n \"${{inputs.severity}}\" ]] ; then\n  options+=(\"--severity=${{inputs.severity}}\")\nfi\n\nif [[ -n \"${{inputs.shell}}\" ]] ; then\n  options+=(\"--shell=${{inputs.shell}}\")\nfi\n\necho -e \"::group::\\033[34mShellcheck configuration…\\033[0m\"\nif [[ ${#options[@]} -eq 0 ]] ; then\n  echo \"Options: -no-set-\"\nelse\n  echo \"Options: ${options[@]}\"\nfi\necho \"::endgroup::\"\n\necho \"options=${options[@]}\" \u003e\u003e $GITHUB_OUTPUT\n"},{"id":"shellcheck-version-print","name":"Print Shellcheck version info","shell":"bash","run":"# [shellcheck-version-print]\n\necho -e \"::group::\\033[34mPrint Shellcheck version…\\033[0m\"\n~/.cache/shellcheck --version\necho \"::endgroup::\"\n"},{"id":"shellcheck-check","name":"Checks scripts with Shellcheck","shell":"bash","run":"# [shellcheck-check]\n\necho -e \"\\033[34mRunning Shellcheck…\\033[0m\"\nbash -c 'shopt -s globstar; ~/.cache/shellcheck ${{steps.shellcheck-set-options.outputs.options}} ${{inputs.files}}' \u0026\u0026 echo -e \"\\033[32mEverything is OK!\\033[0m\"\n"}]},"default_branch":"master","path":null},"repo_metadata":{"id":65159702,"uuid":"398524805","full_name":"essentialkaos/shellcheck-action","owner":"essentialkaos","description":"GitHub action for checking scripts with Shellcheck","archived":false,"fork":false,"pushed_at":"2025-08-04T08:43:35.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-11T10:07:58.159Z","etag":null,"topics":["github-action","github-action-shell","github-actions"],"latest_commit_sha":null,"homepage":"https://kaos.sh/shellcheck-action","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/essentialkaos.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":"SECURITY.md","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":"2021-08-21T10:06:07.000Z","updated_at":"2025-08-04T08:42:10.000Z","dependencies_parsed_at":"2024-08-08T00:21:22.972Z","dependency_job_id":"7c2f6d95-643b-4295-8f91-e53576a6698b","html_url":"https://github.com/essentialkaos/shellcheck-action","commit_stats":{"total_commits":38,"total_committers":1,"mean_commits":38.0,"dds":0.0,"last_synced_commit":"d86afa9a40cd0a653255a7016213e4476c8014e5"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/essentialkaos/shellcheck-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fshellcheck-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fshellcheck-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fshellcheck-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fshellcheck-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/essentialkaos","download_url":"https://codeload.github.com/essentialkaos/shellcheck-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/essentialkaos%2Fshellcheck-action/sbom","scorecard":{"id":383116,"data":{"date":"2025-08-11","repo":{"name":"github.com/essentialkaos/shellcheck-action","commit":"a48a603669d6a8eeab25e79d040516b9f577e5dc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"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":"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":"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":"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":-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":"Code-Review","score":0,"reason":"Found 0/30 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":"Maintained","score":0,"reason":"1 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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: 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":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":"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":"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: Apache License 2.0: 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 'master'"],"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-18T15:56:24.260Z","repository_id":65159702,"created_at":"2025-08-18T15:56:24.261Z","updated_at":"2025-08-18T15:56:24.261Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31793225,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"},"tags":[]},"repo_metadata_updated_at":"2026-04-14T10:59:02.100Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":16,"rankings":{"downloads":null,"dependent_repos_count":10.156868958960546,"dependent_packages_count":0.0,"stargazers_count":27.409285374742513,"forks_count":35.14815401679607,"docker_downloads_count":null,"average":18.17857708762478},"purl":"pkg:githubactions/essentialkaos/shellcheck-action","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/essentialkaos/shellcheck-action","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/essentialkaos/shellcheck-action","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/essentialkaos/shellcheck-action/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-04-23T02:14:22.220Z","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/essentialkaos%2Fshellcheck-action/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/essentialkaos%2Fshellcheck-action/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/essentialkaos%2Fshellcheck-action/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/essentialkaos%2Fshellcheck-action/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/essentialkaos%2Fshellcheck-action/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/essentialkaos%2Fshellcheck-action/codemeta","maintainers":[]}