Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/astro/deadnix-action

Workflow to find and delete dead nix code
https://github.com/astro/deadnix-action

action actions github nix nixos nixpkgs workflow

Last synced: about 1 month ago
JSON representation

Workflow to find and delete dead nix code

Awesome Lists containing this project

README

        

# deadnix-action

Automatically creates pull requests to remove unused code in `.nix`
files

## Usage

Create a `.github/workflows/deadnix.yml` file:

```yaml
on: [push]

name: Dead code analysis

jobs:
deadnix:
name: Deadnix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: deadnix
- uses: astro/deadnix-action@main
```

`git add`, `git commit`, `git push`, be happy.