{"id":15848776,"url":"https://github.com/robintail/bun-diff-action","last_synced_at":"2025-04-01T17:49:22.662Z","repository":{"id":255822003,"uuid":"853676794","full_name":"RobinTail/bun-diff-action","owner":"RobinTail","description":"A composite action that writes the diff of bun.lockb file into a comment of pull request","archived":false,"fork":false,"pushed_at":"2024-10-09T16:23:21.000Z","size":98,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T18:46:51.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/RobinTail.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},"funding":{"github":"RobinTail","buy_me_a_coffee":"robintail"}},"created_at":"2024-09-07T08:04:41.000Z","updated_at":"2024-11-14T08:07:20.000Z","dependencies_parsed_at":"2024-09-10T23:17:21.545Z","dependency_job_id":"e442ce8d-a1a1-492f-91cc-09ed86c1e1f3","html_url":"https://github.com/RobinTail/bun-diff-action","commit_stats":null,"previous_names":["robintail/bun-diff-action"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinTail%2Fbun-diff-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinTail%2Fbun-diff-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinTail%2Fbun-diff-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RobinTail%2Fbun-diff-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RobinTail","download_url":"https://codeload.github.com/RobinTail/bun-diff-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246685173,"owners_count":20817567,"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","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-10-05T18:20:26.290Z","updated_at":"2025-04-01T17:49:22.657Z","avatar_url":"https://github.com/RobinTail.png","language":null,"funding_links":["https://github.com/sponsors/RobinTail","https://buymeacoffee.com/robintail"],"categories":[],"sub_categories":[],"readme":"# RobinTail/bun-diff-action\n\nA composite action that writes the diff of `bun.lockb` file into a comment of pull request.\nThe `diff` syntax is highlighted and the action keeps that comment up to date.\n\n⚠️ Bun has switched to a text-based lockfile so that this action is no longer required:\n[read more about it and find out how to upgrade](https://bun.sh/blog/bun-lock-text-lockfile).\n\n![Demo comment](demo.jpg)\n\n## Requirements\n\n- Running on `pull_request` event,\n- Permission to `write` comments to the pull request,\n- Check out with `fetch-depth: 0`,\n- Install `bun`.\n\n## Usage\n\n```yaml\non: pull_request\npermissions:\n  pull-requests: write # for comments in PRs\njobs:\n  sample:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout\n        uses: actions/checkout@v4\n        with: # required!\n          fetch-depth: 0\n      - name: Install bun\n        uses: oven-sh/setup-bun@v2\n        with:\n          bun-version: latest\n      - name: Show the bun lock diff\n        # in case the workflow has multiple triggers:\n        # if: github.event_name == 'pull_request'\n        uses: RobinTail/bun-diff-action@v... # set the version\n```\n\n### Options\n\n```yaml\nwith:\n  working-directory:\n    description: Directory to find bun.lockb file\n    required: false\n    default: .\n```\n\n## Alternatives\n\n- https://github.com/koki-develop/bun-diff-action\n  - Written in Typescript,\n  - Runs on Node 20,\n  - Can install `bun` itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobintail%2Fbun-diff-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobintail%2Fbun-diff-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobintail%2Fbun-diff-action/lists"}