openhound-github 0.5.1__tar.gz → 0.5.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openhound_github-0.5.1 → openhound_github-0.5.2}/PKG-INFO +1 -1
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/resources/organization.py +11 -3
- openhound_github-0.5.2/tests/test_environment_resources.py +73 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/CODE_OF_CONDUCT.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/CONTRIBUTING.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/GOVERNANCE.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/GitHub-COC-Header.png +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/GitHub-CONTRIB-Header.png +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/GitHub-GOV-Header.png +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/GitHub-Header.png +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/GitHub-LIC-Header.png +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/GitHub-SEC-Header.png +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/SECURITY.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/SO-Dark.svg +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/SO-FOSS-Dark.svg +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/SO-FOSS-Light.svg +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/SO-Light.svg +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/workflows/publish.yml +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/workflows/release-on-merge.yml +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.github/workflows/validate-branch.yml +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.gitignore +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.gitmodules +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/.pre-commit-config.yaml +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/LICENSE.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/README.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_AddAssignee.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_AddCollaborator.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_AddLabel.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_AddMember.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_AdminTo.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ApprovesDeploymentTo.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_AssignedTo.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_BypassBranchProtection.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_BypassPullRequestAllowances.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CallsWorkflow.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanAccess.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanAssumeIdentity.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanCreateBranch.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanCreateEnvironment.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanCreateRepositoryWithRunnerAccess.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanDeployToEnvironment.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanEditEnvironment.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanEditProtection.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanPwnRequest.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanReadSecretScanningAlert.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanUseRunner.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanWriteBranch.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CloseDiscussion.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CloseIssue.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ClosePullRequest.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_Contains.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ConvertIssuesToDiscussions.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CreateDiscussionCategory.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CreateRepository.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CreateSoloMergeQueueEntry.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CreateTag.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CreateTeam.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DeleteAlertsCodeScanning.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DeleteDiscussion.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DeleteDiscussionComment.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DeleteIssue.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DeleteTag.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DependsOn.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DeploysTo.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditCategoryOnDiscussion.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditDiscussionCategory.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditDiscussionComment.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditRepoAnnouncementBanners.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditRepoCustomPropertiesValues.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditRepoMetadata.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditRepoProtections.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_GrantsAccessTo.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasBaseRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasBranch.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasEnvironment.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasExternalIdentity.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasJob.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasMember.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasPersonalAccessToken.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasPersonalAccessTokenRequest.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasSamlIdentityProvider.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasSecret.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasStep.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasVariable.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasWorkflow.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_InheritedFrom.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_InstalledAs.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_InviteMember.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_JumpMergeQueue.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageDeployKeys.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageDiscussionBadges.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageOrganizationWebhooks.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageRepoSecurityProducts.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSecurityProducts.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSettingsMergeTypes.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSettingsPages.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSettingsProjects.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSettingsWiki.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageTopics.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageWebhooks.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_MapsToUser.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_MarkAsDuplicate.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_MatchesEnvironmentPolicy.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_MemberOf.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_OrgBypassCodeScanningDismissalRequests.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_OrgBypassSecretScanningClosureRequests.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_OrgReviewAndManageSecretScanningBypassRequests.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_OrgReviewAndManageSecretScanningClosureRequests.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_Owns.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ProtectedBy.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_PushProtectedBranch.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReadCodeScanning.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReadOrganizationActionsUsageMetrics.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReadOrganizationCustomOrgRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReadOrganizationCustomRepoRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReadRepoContents.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_RemoveAssignee.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_RemoveLabel.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReopenDiscussion.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReopenIssue.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReopenPullRequest.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_RequestPrReview.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ResolveDependabotAlerts.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ResolveSecretScanningAlerts.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_RestrictionsCanPush.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_RunOrgMigration.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_SetInteractionLimits.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_SetIssueType.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_SetMilestone.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_SetSocialPreview.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_SyncedTo.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ToggleDiscussionAnswer.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ToggleDiscussionCommentMinimize.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_TransferRepository.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_UsesSecret.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_UsesVariable.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ValidToken.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ViewDependabotAlerts.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ViewSecretScanningAlerts.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteCodeScanning.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteOrganizationActionsSecrets.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteOrganizationActionsSettings.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteOrganizationActionsVariables.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteOrganizationCustomOrgRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteOrganizationCustomRepoRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteOrganizationNetworkConfigurations.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteRepoContents.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteRepoPullRequests.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_App.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_AppInstallation.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_Branch.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_BranchProtectionRule.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnterpriseRunner.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnterpriseRunnerGroup.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_Environment.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnvironmentBranchPolicy.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnvironmentSecret.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnvironmentVariable.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_ExternalIdentity.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_OrgRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_OrgRunner.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_OrgRunnerGroup.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_OrgSecret.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_OrgVariable.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_Organization.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_PersonalAccessToken.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_PersonalAccessTokenRequest.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_RepoRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_RepoRunner.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_RepoSecret.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_RepoVariable.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_Repository.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_SamlIdentityProvider.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_SecretScanningAlert.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_Team.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_TeamRole.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_User.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_Workflow.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_WorkflowJob.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_WorkflowStep.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/docs/og-docs.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-all-repo-admin-role.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-app-installations-all-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-apps-all-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-external-identities-owners.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-organizations.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-owner-users.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-owners-role.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-pats-all-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-privilege-escalation-roles.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-privilege-escalation-users.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/privilege_zone_rules/t0-saml-identity-providers.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/README.md +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/actions-sha-pinning-not-required.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/active-leaked-secrets.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/advanced-security-disabled-new-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/all-actions-allowed.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/app-installations-all-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/branch-protection-admins-not-enforced.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/branch-protection-deletions-allowed.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/branch-protection-force-pushes.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/branch-protection-no-code-owner-reviews.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/branch-protection-no-pr-reviews.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/branch-protection-no-status-checks.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/branch-protection-self-approval.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/branch-protection-stale-reviews.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/bypass-pr-requirements.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/dangerous-branch-perms.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/default-repository-permissions.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/demo-sso-to-cloud-round-trip.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/dependabot-alerts-disabled-new-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/dependabot-updates-disabled-new-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/dependency-graph-disabled-new-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/environments-admin-bypass.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/expired-pats.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/external-identities-without-scim.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/github-to-azure-identity.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/global-repo-perms.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/hybrid-identities.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/members-can-change-repo-visibility.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/members-can-create-pages.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/members-can-create-public-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/members-can-delete-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/members-can-fork-private-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/members-can-invite-outside-collaborators.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/org-owners.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/orgs-without-2fa.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/pats-all-repo-access.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/pending-pat-requests.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/private-repos-forking-allowed.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/privileged-custom-org-roles.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/privileged-hybrid-identities.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/public-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/push-protection-disabled-new-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/push-to-protected-branches.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/repos-secret-scanning-disabled.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/repos-vulnerable-to-workflow-secret-exfil.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/repository-workflows.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/saml-configuration.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/secret-scanning-alerts.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/secret-scanning-disabled-new-repos.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/secrets-reachable-by-user.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/team-membership-admin.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/team-structure.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/unprotected-branches.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/unprotected-default-branch-with-workflow.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/unprotected-default-branches.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/saved_searches/web-commit-signoff-not-required.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/extension/schema.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/justfile +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/pyproject.toml +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/main.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/__init__.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/auth.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/extension.yaml +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/graph.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/graphql.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/helpers.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/kinds/edges.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/kinds/nodes.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/lookup.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/main.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/__init__.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/actions_permission.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/app_installation.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/branch.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/branch_pr_bypass_allowance.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/branch_protection_rule.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/branch_push_allowance.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_admin.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_helpers.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_managed_user.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_member.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_organization.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_role.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_role_team.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_role_user.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_team.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_team_member.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_team_organization.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_team_role.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/enterprise_user.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/env_secret.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/env_variable.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/environment.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/environment_branch_policy.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/external_identity.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/org.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/org_role.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/org_role_member.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/org_role_team.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/org_secret.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/org_variable.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/personal_access_token.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/personal_access_token_access.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/personal_access_token_request.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/projected_enterprise_team.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/repo_role_assignment.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/repository.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/repository_role.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/repository_secret.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/repository_variable.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/runner.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/saml_assertion_consumer_service.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/saml_helpers.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/saml_issuer.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/saml_provider.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/saml_service_provider.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/scim_user.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/secret_scanning_alert.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/team.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/team_member.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/team_role.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/user.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/workflow.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/workflow_job.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/models/workflow_step.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/resources/__init__.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/resources/enterprise.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/runner_ids.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/source.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/transforms.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_app_auth.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_branch_collection_gate.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_branch_protection_traversability.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/actions-permissions.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/actionsecrets.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/app.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/appinstalls.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/branch-policies.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/branch-prot-rules.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/branches.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/custom-roles.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/environments.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/org-pat-request.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/org-pat.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/org-role-teams.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/org-role-users.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/org-roles.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/org.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/pat-repositories.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/repo-collaborators.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/repo-teams.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/repositories.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/scimusers.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/secrets.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/secretscanningalert.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/selected-org-secrets.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/variables.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_data/api/workflows.json +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_enterprise_capabilities.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_enterprise_organization.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_enterprise_resources.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_environment_model.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_error_resilience.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_external_identity_tenant_matching.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_github_rest_client.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_github_retry.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_org_secret_models.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_repository_rulesets.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_runner_ids.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_runner_models.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_runner_resources.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_saml_helpers.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_saml_models.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_scim_models.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_variable_models.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/tests/test_workflow_model.py +0 -0
- {openhound_github-0.5.1 → openhound_github-0.5.2}/uv.lock +0 -0
{openhound_github-0.5.1 → openhound_github-0.5.2}/src/openhound_github/resources/organization.py
RENAMED
|
@@ -4,6 +4,7 @@ from dataclasses import dataclass, field
|
|
|
4
4
|
from datetime import datetime
|
|
5
5
|
from threading import Lock
|
|
6
6
|
from typing import Any, Iterator
|
|
7
|
+
from urllib.parse import quote
|
|
7
8
|
|
|
8
9
|
from dlt.sources.helpers import requests
|
|
9
10
|
from dlt.sources.helpers.rest_client.client import RESTClient
|
|
@@ -131,6 +132,10 @@ def _client_for_org(ctx: SourceContext, org_login: str) -> RESTClient:
|
|
|
131
132
|
return ctx.client
|
|
132
133
|
|
|
133
134
|
|
|
135
|
+
def _encode_path_segment(value: str) -> str:
|
|
136
|
+
return quote(value, safe="")
|
|
137
|
+
|
|
138
|
+
|
|
134
139
|
def _repository_roles(ctx: SourceContext) -> list[dict[str, Any]]:
|
|
135
140
|
roles: list[dict[str, Any]] = []
|
|
136
141
|
for org in ctx.organizations:
|
|
@@ -1297,6 +1302,7 @@ def environment_variables(environment: Environment, ctx: SourceContext):
|
|
|
1297
1302
|
EnvironmentVariable (EnvironmentVariable): Environment variable record.
|
|
1298
1303
|
"""
|
|
1299
1304
|
env_name = environment.name
|
|
1305
|
+
encoded_env_name = _encode_path_segment(env_name)
|
|
1300
1306
|
env_node_id = environment.node_id
|
|
1301
1307
|
|
|
1302
1308
|
full_repo_name = environment.repository_full_name
|
|
@@ -1305,7 +1311,7 @@ def environment_variables(environment: Environment, ctx: SourceContext):
|
|
|
1305
1311
|
|
|
1306
1312
|
client = _client_for_org(ctx, environment.org_login)
|
|
1307
1313
|
for page in client.paginate(
|
|
1308
|
-
f"/repos/{full_repo_name}/environments/{
|
|
1314
|
+
f"/repos/{full_repo_name}/environments/{encoded_env_name}/variables"
|
|
1309
1315
|
):
|
|
1310
1316
|
for item in page:
|
|
1311
1317
|
yield {
|
|
@@ -1341,10 +1347,11 @@ def environment_branch_policies(environment: Environment, ctx: SourceContext):
|
|
|
1341
1347
|
repo_name = environment.repository_name
|
|
1342
1348
|
repo_node_id = environment.repository_node_id
|
|
1343
1349
|
env_name = environment.name
|
|
1350
|
+
encoded_env_name = _encode_path_segment(env_name)
|
|
1344
1351
|
env_node_id = environment.node_id
|
|
1345
1352
|
client = _client_for_org(ctx, environment.org_login)
|
|
1346
1353
|
for page in client.paginate(
|
|
1347
|
-
f"/repos/{full_repo_name}/environments/{
|
|
1354
|
+
f"/repos/{full_repo_name}/environments/{encoded_env_name}/deployment-branch-policies"
|
|
1348
1355
|
):
|
|
1349
1356
|
for policy in page:
|
|
1350
1357
|
yield {
|
|
@@ -1377,10 +1384,11 @@ def environment_secrets(environment: Environment, ctx: SourceContext):
|
|
|
1377
1384
|
full_repo_name = environment.repository_full_name
|
|
1378
1385
|
|
|
1379
1386
|
env_name = environment.name
|
|
1387
|
+
encoded_env_name = _encode_path_segment(env_name)
|
|
1380
1388
|
env_node_id = environment.node_id
|
|
1381
1389
|
client = _client_for_org(ctx, environment.org_login)
|
|
1382
1390
|
for page in client.paginate(
|
|
1383
|
-
f"/repos/{full_repo_name}/environments/{
|
|
1391
|
+
f"/repos/{full_repo_name}/environments/{encoded_env_name}/secrets"
|
|
1384
1392
|
):
|
|
1385
1393
|
for secret in page:
|
|
1386
1394
|
yield {
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
from types import SimpleNamespace
|
|
2
|
+
|
|
3
|
+
import pytest
|
|
4
|
+
|
|
5
|
+
from openhound_github.resources.organization import (
|
|
6
|
+
OrgContext,
|
|
7
|
+
SourceContext,
|
|
8
|
+
environment_branch_policies,
|
|
9
|
+
environment_secrets,
|
|
10
|
+
environment_variables,
|
|
11
|
+
)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class _FakeClient:
|
|
15
|
+
def __init__(self):
|
|
16
|
+
self.paginate_calls: list[tuple[str, dict]] = []
|
|
17
|
+
|
|
18
|
+
def paginate(self, path: str, **kwargs):
|
|
19
|
+
self.paginate_calls.append((path, kwargs))
|
|
20
|
+
return iter([])
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def _ctx(client: _FakeClient) -> SourceContext:
|
|
24
|
+
return SourceContext(
|
|
25
|
+
client=client,
|
|
26
|
+
organizations=[OrgContext(client=client, org_name="acme")],
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def _environment(name: str) -> SimpleNamespace:
|
|
31
|
+
return SimpleNamespace(
|
|
32
|
+
name=name,
|
|
33
|
+
node_id="ENV_1",
|
|
34
|
+
org_login="acme",
|
|
35
|
+
repository_name="repo",
|
|
36
|
+
repository_full_name="acme/repo",
|
|
37
|
+
repository_node_id="REPO_1",
|
|
38
|
+
has_custom_branch_policies=True,
|
|
39
|
+
required_reviewers=False,
|
|
40
|
+
prevent_self_review=False,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@pytest.mark.parametrize(
|
|
45
|
+
("transformer", "suffix"),
|
|
46
|
+
[
|
|
47
|
+
(environment_variables, "variables"),
|
|
48
|
+
(environment_secrets, "secrets"),
|
|
49
|
+
(environment_branch_policies, "deployment-branch-policies"),
|
|
50
|
+
],
|
|
51
|
+
)
|
|
52
|
+
@pytest.mark.parametrize(
|
|
53
|
+
("environment_name", "encoded_name"),
|
|
54
|
+
[
|
|
55
|
+
("feature/test", "feature%2Ftest"),
|
|
56
|
+
("QA Environment", "QA%20Environment"),
|
|
57
|
+
(
|
|
58
|
+
"PCF_PROD_Deployment / deploy-PROD",
|
|
59
|
+
"PCF_PROD_Deployment%20%2F%20deploy-PROD",
|
|
60
|
+
),
|
|
61
|
+
],
|
|
62
|
+
)
|
|
63
|
+
def test_environment_child_resources_encode_environment_names_in_paths(
|
|
64
|
+
transformer, suffix: str, environment_name: str, encoded_name: str
|
|
65
|
+
) -> None:
|
|
66
|
+
client = _FakeClient()
|
|
67
|
+
|
|
68
|
+
rows = list(transformer.__wrapped__(_environment(environment_name), _ctx(client)))
|
|
69
|
+
|
|
70
|
+
assert rows == []
|
|
71
|
+
assert client.paginate_calls == [
|
|
72
|
+
(f"/repos/acme/repo/environments/{encoded_name}/{suffix}", {})
|
|
73
|
+
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ApprovesDeploymentTo.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_BypassBranchProtection.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanAssumeIdentity.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanCreateEnvironment.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanDeployToEnvironment.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanEditEnvironment.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CanEditProtection.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CreateDiscussionCategory.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_CreateSoloMergeQueueEntry.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DeleteAlertsCodeScanning.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_DeleteDiscussionComment.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditCategoryOnDiscussion.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditDiscussionCategory.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditDiscussionComment.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_EditRepoProtections.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasExternalIdentity.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasPersonalAccessToken.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_HasSamlIdentityProvider.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageDiscussionBadges.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSecurityProducts.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSettingsMergeTypes.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSettingsPages.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSettingsProjects.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ManageSettingsWiki.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_MatchesEnvironmentPolicy.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_PushProtectedBranch.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ReopenPullRequest.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ResolveDependabotAlerts.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_RestrictionsCanPush.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_SetInteractionLimits.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ToggleDiscussionAnswer.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_TransferRepository.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ViewDependabotAlerts.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_ViewSecretScanningAlerts.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteCodeScanning.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteRepoContents.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/edges/GH_WriteRepoPullRequests.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_BranchProtectionRule.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnterpriseRunnerGroup.md
RENAMED
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnvironmentBranchPolicy.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnvironmentSecret.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_EnvironmentVariable.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_PersonalAccessToken.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_SamlIdentityProvider.md
RENAMED
|
File without changes
|
{openhound_github-0.5.1 → openhound_github-0.5.2}/descriptions/nodes/GH_SecretScanningAlert.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|