-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
keep an eye on actions/toolkit#1768 if it gets merged related to
Lines 69 to 75 in c70efab
| static get isGHES(): boolean { | |
| const serverURL = new URL(GitHub.serverURL); | |
| const hostname = serverURL.hostname.trimEnd().toUpperCase(); | |
| const isGitHubHost = hostname === 'GITHUB.COM'; | |
| const isGHESHost = hostname.endsWith('.GHE.COM') || hostname.endsWith('.GHE.LOCALHOST'); | |
| return !isGitHubHost && !isGHESHost; | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels