diff --git a/npm-install/action.yml b/npm-install/action.yml index fc6253a..cba5e2f 100644 --- a/npm-install/action.yml +++ b/npm-install/action.yml @@ -117,7 +117,7 @@ runs: run: echo "package-changed=$(git status | grep package-lock.json | wc -l)" >> $GITHUB_OUTPUT shell: bash - - if: ${{ steps.package-lock-status.outputs.package-changed == '1' && inputs.gh-ssh-private-key != '' && github.ref_protected != true }} + - if: ${{ steps.package-lock-status.outputs.package-changed == '1' && inputs.gh-ssh-private-key != '' && github.ref_protected != true && github.actor != 'dependabot[bot]' }} uses: stefanzweifel/git-auto-commit-action@v4 with: commit_message: Updated package-lock.json