Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/koki-develop/bun-diff-action

Show diff of bun.lockb on a Pull Request.
https://github.com/koki-develop/bun-diff-action

bun github-actions

Last synced: 3 months ago
JSON representation

Show diff of bun.lockb on a Pull Request.

Awesome Lists containing this project

README

        

# Bun Diff Action

[![GitHub Release](https://img.shields.io/github/v/release/koki-develop/bun-diff-action)](https://github.com/koki-develop/bun-diff-action/releases/latest)
[![CI](https://img.shields.io/github/actions/workflow/status/koki-develop/bun-diff-action/ci.yml?branch=main&logo=github&style=flat&label=ci)](https://github.com/koki-develop/bun-diff-action/actions/workflows/ci.yml)
[![Build](https://img.shields.io/github/actions/workflow/status/koki-develop/bun-diff-action/build.yml?branch=main&logo=github&style=flat&label=build)](https://github.com/koki-develop/bun-diff-action/actions/workflows/build.yml)

Show diff of `bun.lockb` on a Pull Request.

![](./assets/screenshot.png)

## Usage

```yaml
on:
pull_request:

jobs:
bun-diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: koki-develop/bun-diff-action@v1
```

> [!NOTE]
> If the `Settings` > `Actions` > `General` > `Workflow permissions` setting is not set to `Read and write permissions`, you need to explicitly set the `permissions:` setting.
> ```yaml
> permissions:
> contents: read
> pull-requests: write # Required to add a comment to a pull request
> ```

## LICENSE

[MIT](./LICENSE)