From c60c959ffce63a2445cb6ffbd345defc6dfb3fc7 Mon Sep 17 00:00:00 2001 From: Kawika Bader Date: Thu, 21 Sep 2023 08:53:40 -0700 Subject: [PATCH] Add lockfile change workflow. --- .github/workflows/lockfile-changes.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/lockfile-changes.yml diff --git a/.github/workflows/lockfile-changes.yml b/.github/workflows/lockfile-changes.yml new file mode 100644 index 000000000..08ddfb644 --- /dev/null +++ b/.github/workflows/lockfile-changes.yml @@ -0,0 +1,23 @@ +name: NPM Lockfile Changes + +on: [pull_request] + +jobs: + lockfile_changes: + runs-on: ubuntu-latest + # Permission overwrite is required for Dependabot PRs + permissions: + pull-requests: write + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: NPM Lockfile Changes + uses: codepunkt/npm-lockfile-changes@v1.0.0 + 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