Skip to content

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

Notifications You must be signed in to change notification settings

hjfitz/depcheck-comment

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖💬 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:

name: Depcheck

on: pull_request

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published