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: about 2 months 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
- Host: GitHub
- URL: https://github.com/hjfitz/depcheck-comment
- Owner: hjfitz
- Created: 2021-03-18T15:36:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-29T12:45:20.000Z (about 5 years ago)
- Last Synced: 2026-02-19T11:34:53.894Z (4 months ago)
- Topics: actions, depcheck, dependencies, nodejs
- Language: JavaScript
- Homepage: https://github.com/marketplace/actions/check-node-dependencies-and-comment
- Size: 8.55 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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}}
```