Open sjonpaulbrown opened 2 years ago
As I have time, I will create a PR and test these changes. The overall changes should be small.
I have the same problem @sjonpaulbrown, I would like to tag and release three repositories using one workflow, and run the workflow from one of the repos. @mathieudutour 🔝
Description This github action leverages the
process.env.GITHUB_SERVER_URL
andprocess.env.GITHUB_REPOSITORY
environment variables to define the repository url. From everything that I have seen, these cannot easily be overwritten within Github actions. This prevents this GitHub Action from being able to create tags on other repositories outside of the one that kicked off the worfklow.Proposal I would like to suggest that we add support for optional
repo_url
andrepo
inputs. This addition would require the creation of two new inputs for the GitHub Action, and it would require the repository url be altered to use these inputs while defaulting to the environment variables when the inputs do not exist.