Skip to main content

github_repo_access

Creates, updates, deletes, gets or lists a github_repo_access resource.

Overview​

Namegithub_repo_access
TypeResource
Idrailway.integrations.github_repo_access

Fields​

The following fields are returned by SELECT queries:

One GitHubAccess row.

NameDatatypeDescription
has_accessboolean
is_publicboolean

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectfull_repo_nameChecks if user has access to GitHub repository. Backed by the Railway GraphQL query gitHubRepoAccessAvailable.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
full_repo_namestring

SELECT examples​

Checks if user has access to GitHub repository. Backed by the Railway GraphQL query gitHubRepoAccessAvailable.

SELECT
has_access,
is_public
FROM railway.integrations.github_repo_access
WHERE full_repo_name = '{{ full_repo_name }}' -- required
;