{"id":6326127,"name":"gacts/github-slug","ecosystem":"actions","description":"GitHub Action to expose slug values of branch/tag/version inside your GitHub workflow","homepage":"https://github.com/marketplace/actions/github-slug","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/gacts/github-slug","keywords_array":["action","github-actions","slug"],"namespace":"gacts","versions_count":19,"first_release_published_at":"2021-09-22T08:02:34.000Z","latest_release_published_at":"2025-11-03T14:53:53.000Z","latest_release_number":"v1.3.4","last_synced_at":"2026-03-11T09:34:36.979Z","created_at":"2023-02-13T13:01:37.546Z","updated_at":"2026-03-11T09:34:36.980Z","registry_url":"https://github.com/gacts/github-slug","install_command":null,"documentation_url":null,"metadata":{"name":"GitHub slug","description":"GitHub Action to expose slug values of branch/tag/version inside your GitHub workflow","inputs":{"to-slug":{"description":"Slugify this value (string)","required":false}},"outputs":{"slug":{"description":"A slugged version of \"to-slug\" input (string)"},"is-branch":{"description":"The workflow was triggered on a branch (\"true\"|\"false\")"},"is-tag":{"description":"The workflow was triggered on a tag (\"true\"|\"false\")"},"branch-name":{"description":"Current branch name (\"feature/Fix-Something\" for example; only for runs on a branch)"},"branch-name-slug":{"description":"A slugged version of \"branch-name\" (\"feature-fix-something\" for example; only for runs on a branch)"},"tag-name":{"description":"Current tag name (\"Any-Tag\" or \"v1.2.3\" for example; only for runs on tags)"},"tag-name-slug":{"description":"A slugged version of \"tag-name\" (\"any-tag\" or \"v1.2.3\" for example; only for runs on a tag)"},"commit-hash":{"description":"The commit SHA hash that triggered the workflow (\"ffac537e6cbbf934b08745a378932722df287a53\" for example)"},"commit-hash-short":{"description":"Short (7 first characters) commit SHA hash (\"ffac537\" for example)"},"version":{"description":"Cleared and slugged version value (\"1.2.3-anything-else\" for example). Prefix \"v|ver|version\" will be rejected.\nAvailable for builds on branches and tags (always non-empty)\n"},"version-major":{"description":"Major version (\"0\" by default, \"3\" while build on tag/branch \"3.02.998\")"},"version-minor":{"description":"Minor version (\"0\" by default, \"2\" while build on tag/branch \"3.02.998\")"},"version-patch":{"description":"Patch version (\"0\" by default, \"998\" while build on tag/branch \"3.02.998\")"},"version-semantic":{"description":"Semantic version value in format \"MAJOR.MINOR.PATCH(-tag-suffix-or-branch-name)\". Prefix \"v|ver|version\" will\nbe rejected. Available for builds on branches and tags (always non-empty)\n"}},"runs":{"using":"node24","main":"dist/index.js"},"branding":{"icon":"tag","color":"orange"},"default_branch":"master","path":null},"repo_metadata":{"id":39708659,"uuid":"408453202","full_name":"gacts/github-slug","owner":"gacts","description":"🚀 GitHub Action to expose slug values of branch/tag/version inside your GitHub workflow","archived":false,"fork":false,"pushed_at":"2025-11-03T14:55:11.000Z","size":1582,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-03T15:26:57.510Z","etag":null,"topics":["action","github-actions","slug"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/github-slug","language":"JavaScript","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/gacts.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,"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-09-20T13:25:24.000Z","updated_at":"2025-11-03T14:53:58.000Z","dependencies_parsed_at":"2023-02-17T04:02:27.586Z","dependency_job_id":"2fb88f8f-baf4-4158-b25f-e33905b7eec2","html_url":"https://github.com/gacts/github-slug","commit_stats":{"total_commits":95,"total_committers":2,"mean_commits":47.5,"dds":"0.41052631578947374","last_synced_commit":"b648ab06c348186877895d0d15ae7042cc56a856"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":"actions/javascript-action","purl":"pkg:github/gacts/github-slug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fgithub-slug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fgithub-slug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fgithub-slug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fgithub-slug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gacts","download_url":"https://codeload.github.com/gacts/github-slug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fgithub-slug/sbom","scorecard":{"id":416817,"data":{"date":"2025-08-11","repo":{"name":"github.com/gacts/github-slug","commit":"ac653a09c7a4b67cdff01a0ba7da112ac41bfaa2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"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":"Code-Review","score":0,"reason":"Found 0/24 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":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/test.yml:58","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1"],"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":"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"}},{"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/release.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:71: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/gacts/github-slug/test.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:35","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:46","Info:   0 out of  10 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   2 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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 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":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"}}]},"last_synced_at":"2025-08-19T00:08:28.125Z","repository_id":39708659,"created_at":"2025-08-19T00:08:28.125Z","updated_at":"2025-08-19T00:08:28.125Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283854587,"owners_count":26906028,"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","status":"online","status_checked_at":"2025-11-11T02:00:06.610Z","response_time":65,"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"},"tags":[]},"repo_metadata_updated_at":"2025-11-11T12:57:50.827Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":87,"rankings":{"downloads":null,"dependent_repos_count":5.108540643321185,"dependent_packages_count":0.0,"stargazers_count":17.528125495167167,"forks_count":21.67960703533513,"docker_downloads_count":null,"average":11.07906829345587},"purl":"pkg:githubactions/gacts/github-slug","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/gacts/github-slug","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/gacts/github-slug","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/gacts/github-slug/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-10-02T04:01:30.178Z","issues_count":4,"pull_requests_count":84,"avg_time_to_close_issue":52544.0,"avg_time_to_close_pull_request":39256.765432098764,"issues_closed_count":3,"pull_requests_closed_count":81,"pull_request_authors_count":2,"issue_authors_count":3,"avg_comments_per_issue":5.25,"avg_comments_per_pull_request":0.7261904761904762,"merged_pull_requests_count":71,"bot_issues_count":1,"bot_pull_requests_count":75,"past_year_issues_count":1,"past_year_pull_requests_count":9,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":37128.333333333336,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":6,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.6666666666666666,"past_year_bot_issues_count":1,"past_year_bot_pull_requests_count":8,"past_year_merged_pull_requests_count":6,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/gacts%2Fgithub-slug/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fgithub-slug/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fgithub-slug/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fgithub-slug/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fgithub-slug/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/gacts%2Fgithub-slug/codemeta","maintainers":[]}