Skip to content

Commit

Permalink
Do not fail Bob's PRs when lockfile is outdated (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kusnierz authored May 23, 2024
1 parent eb40612 commit d6a36ca
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions npm-install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,6 @@ runs:
`package-lock.json` has been updated in recent CI workflow run, but cannot be committed because of missing SSH key.
Please run `npm install` and commit updated `package-lock.json` file or provide SSH key in CI workflow as `gh-ssh-private-key`.
- if: ${{ steps.package-lock-status.outputs.package-changed == '1' && inputs.gh-ssh-private-key == '' && github.ref_protected != true && github.actor == 'bobhammer' }}
name: Fail because of outdated package-lock.json
run: exit 1
shell: bash

# Comment regarding outdated lockfile
- if: ${{ always() && github.event.number != '' && steps.outdated-lockfile.outputs.outdated-lockfile != '0' && github.actor != 'bobhammer' }}
name: Comment outdated package-lock.json
Expand Down

0 comments on commit d6a36ca

Please sign in to comment.