mmkal / runovate

An experimental GitHub Action to manage a renovate branch, for rolling up updates easily and safely
0 stars 1 forks source link

Bug: requires `package.json` #4

Open jamesbraza opened 1 day ago

jamesbraza commented 1 day ago

I don't have a package.json in my repo as it's a Python project. This leads to a crash at https://github.com/mmkal/runovate/blob/676a208cba11fc44d3e06177e64f4601ae05f340/action.yml#L168-L172

[deps abc123] chore: update renovate config
 1 file changed, 17 insertions(+), 5 deletions(-)
Run corepack enable
  corepack enable
  pnpm install --no-frozen-lockfile
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    deps_branch: deps
    main_branch: main
! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-9.11.0.tgz
 ERR_PNPM_NO_PKG_MANIFEST  No package.json found in /home/runner/work/repo/repo
Error: Process completed with exit code 1.

Does this action need to require a package.json?