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

feat: use GITHUB_API_URL as baseUrl for octokit #43

Merged
merged 2 commits into from
Apr 16, 2024
Merged

feat: use GITHUB_API_URL as baseUrl for octokit #43

merged 2 commits into from
Apr 16, 2024

Conversation

fty4
Copy link
Contributor

@fty4 fty4 commented Nov 3, 2023

Hello @pascalgn,

to also allow to connect to GHE instances this change will use theAPI URL from the envs.
Instead of only supporting github.com this will allow to run the action also in dedicated GitHub Enterprise instances.

Similar to #40 but uses the GH environment variableGITHUB_API_URL.

closes #38

fty4 and others added 2 commits November 3, 2023 09:05
Allow also to connect to GHE instances when using the API URL from the envs
@pascalgn pascalgn merged commit 316f8ac into pascalgn:main Apr 16, 2024
@pascalgn
Copy link
Owner

Thanks for the PR, it's merged now! 👍

bloopy-boi bot referenced this pull request in h3mmy/bloopyboi Apr 16, 2024
….2 ) (#247)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[pascalgn/size-label-action](https://togithub.com/pascalgn/size-label-action)
| action | patch | `v0.5.1` -> `v0.5.2` |

---

### Release Notes

<details>
<summary>pascalgn/size-label-action
(pascalgn/size-label-action)</summary>

###
[`v0.5.2`](https://togithub.com/pascalgn/size-label-action/releases/tag/v0.5.2):
Release 0.5.2

[Compare
Source](https://togithub.com/pascalgn/size-label-action/compare/v0.5.1...v0.5.2)

#### What's Changed

- feat: use GITHUB_API_URL as baseUrl for octokit by
[@&#8203;fty4](https://togithub.com/fty4) in
[https://github.com/pascalgn/size-label-action/pull/43](https://togithub.com/pascalgn/size-label-action/pull/43)
- feat: add sizeLabel GITHUB_OUTPUT for further reuse in other jobs by
[@&#8203;mat3e](https://togithub.com/mat3e) in
[https://github.com/pascalgn/size-label-action/pull/44](https://togithub.com/pascalgn/size-label-action/pull/44)

#### New Contributors

- [@&#8203;fty4](https://togithub.com/fty4) made their first
contribution in
[https://github.com/pascalgn/size-label-action/pull/43](https://togithub.com/pascalgn/size-label-action/pull/43)
- [@&#8203;mat3e](https://togithub.com/mat3e) made their first
contribution in
[https://github.com/pascalgn/size-label-action/pull/44](https://togithub.com/pascalgn/size-label-action/pull/44)

**Full Changelog**:
pascalgn/size-label-action@v0.5.1...v0.5.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNSIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS41IiwidGFyZ2V0QnJhbmNoIjoiZGV2IiwibGFiZWxzIjpbInJlbm92YXRlL2dpdGh1Yi1hY3Rpb24iLCJyZW5vdmF0ZS9naXRodWItcmVsZWFzZSIsInR5cGUvcGF0Y2giXX0=-->

Co-authored-by: bloopy-boi[bot] <98279278+bloopy-boi[bot]@users.noreply.github.com>
@fty4 fty4 deleted the feat/baseUrl-octokit-build branch April 25, 2024 14:55
penchef pushed a commit to livelyhood/size-label-action that referenced this pull request May 24, 2024
* feat: use GITHUB_API_URL as baseUrl for octokit

Allow also to connect to GHE instances when using the API URL from the envs

* feat: use GITHUB_API_URL as baseUrl for octokit (build)
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.

Allow passing base url for GitHub Enterprise Server
2 participants