Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hjfitz/depcheck-comment

Scan a repo using depcheck and comment on a pull request, because the actions api is will not let you store $(npx depcheck) as a variable
https://github.com/hjfitz/depcheck-comment

actions depcheck dependencies nodejs

Last synced: 4 days ago
JSON representation

Scan a repo using depcheck and comment on a pull request, because the actions api is will not let you store $(npx depcheck) as a variable

Awesome Lists containing this project

README

        

# 🤖💬 Depcheck Comment

## Scan a pull request to see if any dependencies are unused

Use this GitHub Action to scan a pull request and check if any dependencies are unused. This can help with things like primitive bundling and WebApp deployment times.

**Prerequisites:** None!

---

Sample `action.yml` file:

```yaml
name: Depcheck

on: pull_request

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: hjfitz/depcheck-comment@master
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
```