(feat) add composer lock diff action #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NPM Lockfile Changes | |
on: | |
pull_request: | |
paths: | |
- 'package-lock.json' | |
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@v3 | |
- 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 |