jdcargile / ms-teams-notification

GitHub Action to send a Microsoft Teams notification
MIT License
69 stars 75 forks source link

Make Repo BaseURL configurable #36

Open jsinh opened 2 years ago

jsinh commented 2 years ago

I am using this action in our workflow in the repo hosted at github.com and it works well, thanks for that.

Now I am trying to use a fork of it on GitHub enterprise and it does not work because the repo base URL is hard-coded https://github.com/jdcargile/ms-teams-notification/blob/master/src/main.ts#L39

can I request to make this part configurable so we can use https://github.com or some GitHub enterprise base URL instead e.g https://github.somebigenterprise.com/some_repo

I am new to collaboration but I am happy to submit a PR if that is what helps moving us forward, thanks

leandredasilva commented 2 years ago

Hello @jsinh , I opened a pull request for this : https://github.com/jdcargile/ms-teams-notification/pull/37

jsinh commented 2 years ago

@leandredasilva Thank you so much for this, appreciate the help.