-
Notifications
You must be signed in to change notification settings - Fork 455
Make an API call to a self-hosted/enterprise instance #150
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
Comments
👋 Hey @UbiquitousBear, you should be able to be able to set the API URL using the Example: - uses: actions/github-script@v4
env:
GITHUB_API_URL: 'https://example.com'
with:
script: |
github.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Thanks for reporting!'
}) |
@joshmgross looks great - thanks! |
Retriggering this as this setup does not work, I think this is caused by the changes that environment variables cannot start with the Can a different variable be introduced for this to over write the behaviour? |
Is your feature request related to a problem? Please describe.
It looks like there's no way to configure the API host: https://github.com/actions/github-script/blob/main/action.yml
Describe the solution you'd like
Ability to configure the API host to make it compatible with GitHub Enterprise Server.
The text was updated successfully, but these errors were encountered: