Skip to content

Commit

Permalink
Add package lock diff action
Browse files Browse the repository at this point in the history
  • Loading branch information
jdevalk committed Jul 9, 2024
1 parent d40d3a1 commit 2d31c56
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/npm-diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: NPM lockfile changes
on: [pull_request]

jobs:
lockfile_changes:
runs-on: ubuntu-latest
# Permission overwrite is required for Dependabot PRs, see "Common issues" below.
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: NPM lockfile changes
uses: codepunkt/npm-lockfile-changes@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Optional inputs, can be deleted safely if you are happy with default values.
collapsibleThreshold: 25
failOnDowngrade: false
path: package-lock.json
updateComment: true
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2d31c56

Please sign in to comment.