You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
!function(t,e){varo,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){functiong(t,e){varo=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+="(stub)"),e},u.people.toString=function(){return u.toString(1)+".people(stub)"},o="initCe js Ls Te Fs Ds captureYecalculateEventPropertiesUsregisterregister_onceregister_for_sessionunregisterunregister_for_sessionWsgetFeatureFlaggetFeatureFlagPayloadisFeatureEnabledreloadFeatureFlagsupdateEarlyAccessFeatureEnrollmentgetEarlyAccessFeaturesononFeatureFlagsonSurveysLoadedonSessionIdgetSurveysgetActiveMatchingSurveysrenderSurveydisplaySurveycanRenderSurveycanRenderSurveyAsyncidentifysetPersonPropertiesgroupresetGroupssetPersonPropertiesForFlagsresetPersonPropertiesForFlagssetGroupPropertiesForFlagsresetGroupPropertiesForFlagsresetget_distinct_idgetGroupsget_session_idget_session_replay_urlaliasset_configstartSessionRecordingstopSessionRecordingsessionRecordingStartedcaptureExceptionloadToolbarget_propertygetSessionPropertyBszscreatePersonProfileHs Ms Gs opt_in_capturingopt_out_capturinghas_opted_in_capturinghas_opted_out_capturingget_explicit_consent_statusis_capturingclear_opt_in_out_capturingNsdebugLqsgetPageViewIdcaptureTraceFeedbackcaptureTraceMetric".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
!function(t,e){varo,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){functiong(t,e){varo=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.crossOrigin="anonymous",p.async=!0,p.src=s.api_host.replace(".i.posthog.com","-assets.i.posthog.com")+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+="(stub)"),e},u.people.toString=function(){return u.toString(1)+".people(stub)"},o="initCe js Ls Te Fs Ds captureYecalculateEventPropertiesUsregisterregister_onceregister_for_sessionunregisterunregister_for_sessionWsgetFeatureFlaggetFeatureFlagPayloadisFeatureEnabledreloadFeatureFlagsupdateEarlyAccessFeatureEnrollmentgetEarlyAccessFeaturesononFeatureFlagsonSurveysLoadedonSessionIdgetSurveysgetActiveMatchingSurveysrenderSurveydisplaySurveycanRenderSurveycanRenderSurveyAsyncidentifysetPersonPropertiesgroupresetGroupssetPersonPropertiesForFlagsresetPersonPropertiesForFlagssetGroupPropertiesForFlagsresetGroupPropertiesForFlagsresetget_distinct_idgetGroupsget_session_idget_session_replay_urlaliasset_configstartSessionRecordingstopSessionRecordingsessionRecordingStartedcaptureExceptionloadToolbarget_propertygetSessionPropertyBszscreatePersonProfileHs Ms Gs opt_in_capturingopt_out_capturinghas_opted_in_capturinghas_opted_out_capturingget_explicit_consent_statusis_capturingclear_opt_in_out_capturingNsdebugLqsgetPageViewIdcaptureTraceFeedbackcaptureTraceMetric".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[]);
Copy file name to clipboardExpand all lines: repository_hub/lib/repository_hub/clients/github_client.ex
+39-23Lines changed: 39 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,8 @@ defmodule RepositoryHub.GithubClient do
32
32
@err_not_found"Repository not found. If this is a private repository, it looks like you haven't authorized Semaphore with GitHub, please visit https://docs.semaphoreci.com/using-semaphore/connect-github#troubleshooting-guide to read more."
33
33
@err_not_authorized"It looks like you haven't authorized Semaphore with GitHub, please visit https://docs.semaphoreci.com/using-semaphore/connect-github#troubleshooting-guide to read more."
34
34
35
+
@api_url"https://api.github.com"
36
+
35
37
defrepository_permissions(params,opts\\[])do
36
38
owner=params.repo_owner
37
39
repo=params.repo_name
@@ -641,33 +643,28 @@ defmodule RepositoryHub.GithubClient do
0 commit comments