{"id":17793263,"url":"https://github.com/jcbhmr/hello-world-bun-action","last_synced_at":"2026-05-07T10:36:14.204Z","repository":{"id":204920890,"uuid":"712974705","full_name":"jcbhmr/hello-world-bun-action","owner":"jcbhmr","description":"🧅 Demo action using Bun","archived":false,"fork":false,"pushed_at":"2023-11-16T01:28:44.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T09:58:32.933Z","etag":null,"topics":["action","actions","bun","example","getting-started","github-action","github-actions","hack","hello-world"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcbhmr.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}},"created_at":"2023-11-01T15:30:33.000Z","updated_at":"2024-05-22T06:36:34.000Z","dependencies_parsed_at":"2023-11-16T02:38:51.802Z","dependency_job_id":null,"html_url":"https://github.com/jcbhmr/hello-world-bun-action","commit_stats":null,"previous_names":["jcbhmr/runs-using-bun"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/jcbhmr/hello-world-bun-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fhello-world-bun-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fhello-world-bun-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fhello-world-bun-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fhello-world-bun-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcbhmr","download_url":"https://codeload.github.com/jcbhmr/hello-world-bun-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fhello-world-bun-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32733924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["action","actions","bun","example","getting-started","github-action","github-actions","hack","hello-world"],"created_at":"2024-10-27T11:05:23.962Z","updated_at":"2026-05-07T10:36:14.190Z","avatar_url":"https://github.com/jcbhmr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \"Hello world!\" GitHub Action using Bun\n\n🦕 Demo action using Bun\n\n\u003ctable align=center\u003e\u003ctd\u003e\n\n```ts\nimport * as core from \"@actions/core\";\nconsole.log(`Hello ${core.getInput(\"name\")}!`);\ncore.setOutput(\"time\", new Date().toLocaleTimeString());\n```\n\n\u003c/table\u003e\n\n🟦 Uses TypeScript \\\n😍 No compile step! \\\n🧅 Runs on the [Bun runtime] \\\n👩‍⚖️ [0BSD licensed] template\n\n## Usage\n\n![Bun](https://img.shields.io/static/v1?style=for-the-badge\u0026message=Bun\u0026color=000000\u0026logo=Bun\u0026logoColor=FFFFFF\u0026label=)\n![GitHub Actions](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub+Actions\u0026color=2088FF\u0026logo=GitHub+Actions\u0026logoColor=FFFFFF\u0026label=)\n\n\u003cimg align=right src=\"https://i.imgur.com/geBHkPj.png\"\u003e\n\nThis is a **template repository** that is meant to be used as a base or example\nfor your own project. To get started, just click the \u003ckbd\u003eUse this\ntemplate\u003c/kbd\u003e button in the top right of this repository page.\n\nAfter instantiating this template repository, you will need to manually do the\nfollowing:\n\n1. Write your code in the `main.ts` file. You can use npm packages without\n   installing them, `node:` builtins, and `Bun.*` APIs.\n2. Make sure you edit the `.github/workflows/test-action.yml` test workflow if\n   you want to test any additional inputs or scenarios.\n3. Replace the `LICENSE` file with your preferred software license. Check out\n   [choosealicense.com] if you're unsure of which one to pick.\n4. Replace this `README.md` file with a fancy readme to suit your new GitHub\n   Action. Make sure you document all your inputs \u0026 outputs!\n5. Create a new GitHub release and publish your new GitHub Action to the [GitHub\n   Actions Marketplace]! 🚀\n\nYou'll notice that the example code takes advantage of [Auto-install] to use npm\npackages without specifying them in `package.json`. You can specify a version of\na package to use by adding each package you use to your `package.json` or\n`bun.lockb`.\n\n\u003cdetails\u003e\u003csummary\u003eYou can also use \u003ccode\u003ebun build\u003c/code\u003e to prebundle everything if you prefer\u003c/summary\u003e\n\n```yml\n# action.yml\nruns:\n  using: bun1\n  main: out/main.ts\n```\n\n```jsonc\n// package.json\n{\n  \"scripts\": {\n    \"build\": \"bun build src/main.ts --outdir=out --target=bun\"\n  }\n}\n```\n\n```yml\n# .github/workflows/publish-action.yml (partial)\n- uses: actions/checkout@v4\n- uses: oven-sh/setup-bun@v1\n- run: bun install\n- run: bun run build\n- run: rm -rf node_modules\n- uses: jcbhmr/configure-bun-action@v1\n- uses: actions4git/add-commit-push@v1\n  with:\n    add-force: true\n- uses: actions/publish-action@v0.2.2\n  with:\n    source-tag: ${{ github.event.release.tag_name }}\n```\n\n\u003c/details\u003e\n\n\u003c!-- prettier-ignore-start --\u003e\n[bun runtime]: https://bun.sh/\n[choosealicense.com]: https://choosealicense.com/\n[github actions marketplace]: https://github.com/marketplace?type=actions\n[0bsd licensed]: https://github.com/jcbhmr/hello-world-deno-action/blob/main/LICENSE\n[auto-install]: https://bun.sh/docs/runtime/autoimport\n\u003c!-- prettier-ignore-end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbhmr%2Fhello-world-bun-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcbhmr%2Fhello-world-bun-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbhmr%2Fhello-world-bun-action/lists"}