diff --git a/.github/workflows/no-package-lock-changes.yml b/.github/workflows/no-package-lock-changes.yml index 2b8925c15822d5..45d5d17407bf1f 100644 --- a/.github/workflows/no-package-lock-changes.yml +++ b/.github/workflows/no-package-lock-changes.yml @@ -23,9 +23,9 @@ jobs: echo "should_run=${{ !contains(fromJson('["admin", "maintain", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) && github.event.pull_request.user.login != 'dependabot[bot]' }}" >> $GITHUB_OUTPUT - name: Get file changes uses: trilom/file-changes-action@ce38c8ce2459ca3c303415eec8cb0409857b4272 - #if: ${{ steps.control.outputs.should_run == 'true' }} + if: ${{ steps.control.outputs.should_run == 'true' }} - name: Check for lockfile changes - #if: ${{ steps.control.outputs.should_run == 'true' }} + if: ${{ steps.control.outputs.should_run == 'true' }} run: | cat $HOME/files.json | jq -e 'any(test("package-lock\\.json$|Cargo\\.lock$")) | not' \ || (echo "Changes to package-lock.json/Cargo.lock files aren't allowed in PRs." && exit 1)