Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ghe support #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add ghe support #40

wants to merge 1 commit into from

Conversation

anden-dev
Copy link

@anden-dev anden-dev commented Mar 5, 2024

Add support for GHE

https://docs.github.com/en/actions/learn-github-actions/variables

GITHUB_API_URL | Returns the API URL. For example: https://api.github.com.

@stevetoro
Copy link

Just attempted to use this action in a Github Enterprise workflow, encountered error due to the action trying to hit api.github.com.

image

@anden-dev were you able to find a way to use this action in GHE? Or did you decide on another package/strategy?

@anden-dev
Copy link
Author

@stevetoro
Yes, I have this action with my proposed change running on GHE.

The variable is documented, you can check your GHE version's documentation or add a step like this to verify

   steps:
      - name: Echo GITHUB_API_URL
        run: echo $GITHUB_API_URL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants