silverstripe / gha-merge-up

GitHub Action to merge-up supported branches in a repository
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

gha repositories are still failing to parse __composer.json #22

Closed emteknetnz closed 1 year ago

emteknetnz commented 1 year ago

Check that composer.json exists on the repositories before trying to download it, otherwise you'll still end up with a composer.json file just it will be blank or an error, though still passed the php file_exists() check

PRs

GuySartorelli commented 1 year ago

PR merged. Reassigning to @emteknetnz to see if this actually fixed the problem - as mentioned in https://github.com/silverstripe/gha-merge-up/pull/23#pullrequestreview-1597482240 there's not enough information here for me to make that determination.

emteknetnz commented 1 year ago

Works now https://github.com/silverstripe/gha-ci/actions/runs/5996153545/job/16260227717