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

chore: use github.api_url as default #62

Merged
merged 2 commits into from
Apr 16, 2024
Merged

chore: use github.api_url as default #62

merged 2 commits into from
Apr 16, 2024

Conversation

fty4
Copy link
Contributor

@fty4 fty4 commented Oct 27, 2023

Currently the GitHub API URL has to be set manually.
This will change that you do not longer need to set the input on a GHE instance.

Also see #28 which does the same by using the environment variable directly.
This pr uses the github context.

Copy link
Collaborator

@johnlk johnlk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the tweak!

@@ -54,7 +54,7 @@ inputs:
github_api_url:
description: 'URL to the API of your Github Server, only necessary for Github Enterprise customers'
required: false
default: 'https://api.github.com'
default: '${{ github.api_url }}'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@johnlk johnlk merged commit 13d17c4 into CodelyTV:main Apr 16, 2024
2 checks passed
@fty4 fty4 deleted the chore/gh-api-url branch April 25, 2024 14:56
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