derberg / manage-files-in-multiple-repositories

GitHub Action that introduces support for global workflows. Global workflows are the one you update in just one repo and they are automatically updated in other repositories.
MIT License
52 stars 18 forks source link

PR Creation Broken #10

Closed ftalburt closed 3 years ago

ftalburt commented 3 years ago

PR creation is broken as of version 0.0.9. Root cause of the issue seems to be that repo.defaultBranch is being passed to createPr, but that property is undefined. The correct property (and what was previously used) is repo.defaultBranchRef.name.

https://github.com/derberg/global-workflows-support/blob/30750149bf2268645e2941c0676b18b9b87a05d6/lib/index.js#L66

derberg commented 3 years ago

@ftalburt hey, finally found time to fix it. Please use v0.1.0 I also added some more debug logs.

Sorry for keeping you waiting. Please let me know where do you use this action.

It may sound strange but I'm not happy community of users for this action grows. This should be natively supported by GitHub and I want to try again to put some pressure on them on how important it is.