vsoch / pull-request-action

open a pull request when a branch is pushed or updated

Home Page:https://github.com/marketplace/actions/pull-request-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow to customize github url

sta-szek opened this issue · comments

hi, i would like to use that action with private GHES, can we customize url? instead of github.com i would like to use mygithub.mysite.com

Yes I can take a shot to develop that for you. Can you show me an example of another GitHub action that is setup to work with private GHES so I can become familiar?

Yes I can take a shot to develop that for you. Can you show me an example of another GitHub action that is setup to work with private GHES so I can become familiar?

sorry for long replay, i am not watching notifications as working on GHES.

example: https://github.com/CodelyTV/pr-size-labeler

okay here is a branch to test! #80 The branch is called add/github-enterprise-url that you can specify to use for the action, and the envar to set is PULL_REQUEST_API_URL which will default to https://api.github.com and can be set to a custom enterprise URL.

unfortunately we cannot use this branch as we cannot use actions from public. we can use only synchronized-master branches.
i hope somebody else will be able to test it so it can be merged.
thanks for the effort @vsoch 👍 🙇

@sta-szek this is a fairly small change - if I merge to the master/main branch would you be able to test promptly? When you confirm working I'll do a release (and if not we can revert pretty easily).

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.