diff --git a/app-config.yaml b/app-config.yaml index afbda40852..dd1a3f17eb 100644 --- a/app-config.yaml +++ b/app-config.yaml @@ -119,12 +119,12 @@ integrations: - host: github.com token: ${GITHUB_TOKEN} ### Example for how to add your GitHub Enterprise instance using the API: - # - host: ghe.example.net - # apiBaseUrl: https://ghe.example.net/api/v3 - # token: ${GHE_TOKEN} + - host: ghe.spotify.net + apiBaseUrl: https://ghe.spotify.net/api/v3 + token: ${GHE_TOKEN} ### Example for how to add your GitHub Enterprise instance using raw HTTP fetches (token is optional): - # - host: ghe.example.net - # rawBaseUrl: https://ghe.example.net/raw + # - host: ghe.spotify.net + # rawBaseUrl: https://ghe.spotify.net/raw # token: ${GHE_TOKEN} gitlab: - host: gitlab.com @@ -159,8 +159,8 @@ catalog: - target: https://github.com token: ${GITHUB_TOKEN} #### Example for how to add your GitHub Enterprise instance using the API: - # - target: https://ghe.example.net - # apiBaseUrl: https://ghe.example.net/api + # - target: https://ghe.spotify.net + # apiBaseUrl: https://ghe.spotify.net/api # token: ${GHE_TOKEN} ldapOrg: ### Example for how to add your enterprise LDAP server diff --git a/plugins/github-release-manager/src/types/types.ts b/plugins/github-release-manager/src/types/types.ts index 6d7099b9eb..8687150d7e 100644 --- a/plugins/github-release-manager/src/types/types.ts +++ b/plugins/github-release-manager/src/types/types.ts @@ -14,15 +14,10 @@ * limitations under the License. */ -export type ComponentConfig = - | { - omit?: void; - successCb?: (args: Args) => Promise | void; - } - | { - omit: boolean; - successCb?: void; - }; +export type ComponentConfig = { + omit?: boolean; + successCb?: (args: Args) => Promise | void; +}; interface CreateRcSuccessCbArgs { gitHubReleaseUrl: string;