Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hjfitz/depcheck-comment
- Owner: hjfitz
- Created: 2021-03-18T15:36:58.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-29T12:45:20.000Z (almost 4 years ago)
- Last Synced: 2024-03-15T06:00:55.541Z (10 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: 3
- 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: Depcheckon: pull_request
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: hjfitz/depcheck-comment@master
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
```