{"id":19557823,"url":"https://github.com/jbangdev/setup-jbang","last_synced_at":"2026-03-03T19:02:52.701Z","repository":{"id":181953208,"uuid":"667713903","full_name":"jbangdev/setup-jbang","owner":"jbangdev","description":"Setup JBang cli to use in GitHub Actions","archived":false,"fork":false,"pushed_at":"2025-11-16T03:50:31.000Z","size":15,"stargazers_count":3,"open_issues_count":5,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-16T05:32:14.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbangdev.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"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":"commonhaus","open_collective":"commonhaus-foundation"}},"created_at":"2023-07-18T06:28:57.000Z","updated_at":"2025-11-11T14:19:59.000Z","dependencies_parsed_at":"2023-12-16T09:05:07.938Z","dependency_job_id":"2b16de10-c66a-4a18-855d-011c0f3dda7a","html_url":"https://github.com/jbangdev/setup-jbang","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"41dd580658059fd153ddbf4e67923637d0211afe"},"previous_names":["jbangdev/setup-jbang"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jbangdev/setup-jbang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbangdev%2Fsetup-jbang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbangdev%2Fsetup-jbang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbangdev%2Fsetup-jbang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbangdev%2Fsetup-jbang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbangdev","download_url":"https://codeload.github.com/jbangdev/setup-jbang/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbangdev%2Fsetup-jbang/sbom","scorecard":{"id":344073,"data":{"date":"2025-08-11","repo":{"name":"github.com/jbangdev/setup-jbang","commit":"1b4edffc6c1af9fa729c9138b65dcd70c95e2971"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/19 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":"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":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:17: update your workflow using https://app.stepsecurity.io/secureworkflow/jbangdev/setup-jbang/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/jbangdev/setup-jbang/test.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction 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":"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 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-18T06:39:16.285Z","repository_id":181953208,"created_at":"2025-08-18T06:39:16.285Z","updated_at":"2025-08-18T06:39:16.285Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30056056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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"}},"keywords":[],"created_at":"2024-11-11T04:44:07.878Z","updated_at":"2026-03-03T19:02:52.696Z","avatar_url":"https://github.com/jbangdev.png","language":null,"funding_links":["https://github.com/sponsors/commonhaus","https://opencollective.com/commonhaus-foundation"],"categories":[],"sub_categories":[],"readme":"= setup-jbang\n:linkattrs:\n:project-owner: jbangdev\n:project-name:  setup-jbang\n\nimage:https://github.com/{project-owner}/{project-name}/workflows/Test/badge.svg[\"Build Status\", link=\"https://github.com/{project-owner}/{project-name}/actions\"]\nimage:https://img.shields.io/github/v/release/{project-owner}/{project-name}[\"GitHub release\", link=\"https://github.com/jreleaser/release-action/releases\"]\nimage:https://img.shields.io/twitter/follow/{project-owner}?style=social[\"Twitter Follow\", link=\"https://twitter.com/jreleaser\"]\n\nThis action setup link:https://jbang.dev[JBang] cli for GitHub Actions.\n\nThis is recommended over using the container image based `jbangdev/jbang-action` which is slower. `setup-java` is faster and \"just works\" in comparison.\n\n== Usage\n\n=== Workflow\n\n[source,yaml]\n----\nname: jbang\n\non:\n  workflow_dispatch:\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      # Configure build steps as you'd normally do\n\n      - name: Setup JBang\n        uses: jbangdev/setup-jbang@main\n       \n      - name: properties\n        run: |\n          jbang properties@jbangdev\n        \n----\n\nIMPORTANT: This action will download a suitable Java runtime automatically if one is not available. Thus this action does not need a pre-configured Java setup. The action and JBang will though prefer to use a JDK if it is available. GitHub runners have a default Java 11 available thus it will use that Java by default. If you would like to use a different Java version/distribution, then add a `actions/setup-java` as needed. Example:\n\n[source,yaml]\n----\nname: jbang\n\non:\n  workflow_dispatch:\n\njobs:\n  release:\n    name: Release\n    runs-on: ubuntu-latest\n\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v3\n        with:\n          fetch-depth: 0\n\n      # Configure build steps as you'd normally do\n\n      - name: Setup Java\n        uses: actions/setup-java@v3\n        with:\n          java-version: | \n            11\n            17\n          \n      - name: Setup JBang\n        uses: jbangdev/setup-jbang@main\n\n      - name: Configure java\n        run: |\n          jbang jdk install 11 ${{env.JAVA_HOME_11_X64}}\n          jbang jdk install 17 ${{env.JAVA_HOME_17_X64}}\n\n       - name: complexhelloworld\n        run: |\n          jbang properties@jbangdev java.vendor.version # uses the default java version\n\n      - name: test output 11\n        run:  jbang --java 11 properties@jbangdev java.vendor.version # use java 11\n      - name: test output 17\n        run:  jbang --java 17 properties@jbangdev java.vendor.version # use java 17\n       \n     \n      \n        \n----\n\n\n== Customizing\n\n== Inputs\n\nFollowing inputs can be used as `step.with` keys\n\n[%header,cols=\"\u003c2,\u003c,\u003c2,\u003c3\",width=\"100%\"]\n|===\n| Name              | Type    | Default                 | Description\n| version           | String  |                         | The JBang version to use. +\nShould match any of the link:https://github.com/jbangdev/jbang/releases[published releases]. Leave empty to use the latest.\n|===\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbangdev%2Fsetup-jbang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbangdev%2Fsetup-jbang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbangdev%2Fsetup-jbang/lists"}