1695 Commits
Author SHA1 Message Date
Glenn Lewis 480e073353 Bump version of go-github to v64.0.0 (#3240) 2024-08-20 22:59:59 -04:00
Graham Hargreaves 3f445924c8 Add support for filepath repository rules (#3233) 2024-08-19 07:02:17 -04:00
Andriyun 3085a9c1cf Allow create custom repository/organization roles without permission (#3235) 2024-08-19 07:00:07 -04:00
Sven Palberg 436e1fd9b5 feat!: Widen CustomProperties type to map[string]interface{} to align with GitHub API (#3230)
Fixes: #3229.

BREAKING CHANGE: PushEventRepository.CustomProperties is changed from map[string]string to map[string]interface{}.
2024-08-10 21:37:23 -04:00
Ary 7f7f1945b4 Add List fine-grained personal access tokens with access to organization resources API (#3215)
Fixes: #3213.
2024-07-27 16:58:04 -04:00
Matt Simons 020ef00cd8 Revert "Add CommitID, InReplyTo, and SubjectType to DraftReviewComment" (#3218)
Fixes: #3219.
2024-07-25 14:47:30 -04:00
Alexey Alekhin 2cdb0eafa1 feat!: Replace ListCursorOptions with ListIDPGroupsOptions in TeamsService.ListIDPGroupsInOrganization (#3197)
Fixes #3196.

BREAKING CHANGE: Replace ListCursorOptions with ListIDPGroupsOptions in TeamsService.ListIDPGroupsInOrganization
2024-07-23 21:56:37 -04:00
Ary ff0223da9f feat!: Add support for multi-select Custom Properties (#3200)
Fixes #3198.

BREAKING CHANGE: CustomPropertyValue.Value is changed from *string to interface{} to support string and []string values.
2024-07-23 20:57:20 -04:00
abhishek d5e03d538e Update CustomOrgRoles and CustomRepoRoles to include all fields returned by the GitHub API (#3216)
Fixes: #3214.
2024-07-21 22:38:18 -04:00
Kevin Burke 5f496dddb8 Add doc for NewPullRequest (#3208) 2024-07-16 13:32:12 -04:00
Glenn Lewis 173aa01e10 Bump version of go-github to v63.0.0 (#3205) 2024-07-10 16:11:33 -04:00
Matthew William Reidy 2204dce82b Allow an empty array of BypassActors in Ruleset struct in CreateRuleset endpoint (#3174)
Fixes: #3137.
2024-07-09 14:27:08 -04:00
Matt Simons dd756703cb Add support for Enterprise GetRunner (#3185)
Fixes: #3182.
2024-07-02 06:25:56 -04:00
Clemens W 42ae4fe291 Add support in rulesets for including or excluding repos based on properties (#3194) 2024-06-26 09:57:36 -04:00
asultania-sc a2b2fc8220 Add role name to RepositoryPermissionLevel (#3188)
Fixes: #3189.
2024-06-12 09:21:12 -04:00
tomfeigin 0e99a54257 Add fields to the InstallationPermissions struct (#3184) 2024-06-11 11:14:37 -04:00
Nicholas Herring f78378d339 Fix: Propagate context with DownloadContents (#3181) 2024-06-11 11:05:20 -04:00
Richard Macklin 7665f317d3 Support path property in WorkflowRun (#3176)
Fixes: #3175.
2024-05-23 15:02:25 -04:00
assembly-winston 0a8878b2cc Support status codes 302 and 200 in GetArchiveLink endpoint (#3172)
Fixes: #3171.
2024-05-16 19:10:00 -04:00
tomfeigin 4b16015969 feat!: Support querying organization custom roles (#3129)
BREAKING CHANGE: `CreateOrUpdateCustomRoleOptions` has been renamed to `CreateOrUpdateCustomRepoRoleOptions` and `roleID` has been changed from type `string` to `int64`.
2024-05-15 09:01:38 -04:00
Matt Simons 06c9709215 Add CommitID, InReplyTo, and SubjectType to DraftReviewComment (#3169)
Fixes: #3168.
2024-05-14 11:04:21 -04:00
YuyaKoda 4169a9c04d feat!: Change enterprise runner to also use ListRunnersOptions (#3167)
Fixes: #3166.

BREAKING-CHANGE: This changes `ListOptions` to  `ListRunnersOptions` in `EnterpriseService.ListRunners`.
2024-05-13 07:28:29 -04:00
Liam Stanley 51bedebff8 feat: Add missing values_editable_by field for organization custom properties (#3164) 2024-05-10 20:38:28 -04:00
Glenn Lewis 87c3716824 Bump version of go-github to v62.0.0 (#3165) 2024-05-10 20:01:25 -04:00
tomfeigin 81ff3c9e8b Query identities associated with organization roles (#3130) 2024-05-07 14:44:50 -04:00
JoannaaKL 5c79fa2c01 Add Action to DeploymentStatusEvent (#3163) 2024-05-07 14:40:23 -04:00
Diogo Vilela 807d5cfeff Add support for Dependency Graph Snapshots endpoint (#2856) 2024-05-05 07:50:15 -04:00
Sai Ravi Teja Chintakrindi 5868a6619b Add support for check private vulnerability reporting endpoint (#3157)
Fixes: #3152.
2024-05-04 20:26:00 -04:00
Jan Guth faffd29a1c feat!: Add ListRunnersOptions to support all query parameters (#3094)
Fixes: #3093.

BREAKING-CHANGE: This changes `ListOptions` to  `ListRunnersOptions` in `ListRunners` and `ListOrganizationRunners`.
2024-05-01 12:12:50 -04:00
Erez Rokah 497dbe8d04 feat: Allow blocking until primary rate limit is reset (#3117)
Fixes: #3114.
2024-05-01 12:09:18 -04:00
Glenn Lewis e21b500cb8 Hotfix: Fix broken unit test in copilot_test.go (#3156) 2024-04-29 19:29:06 -04:00
Ryan Skidmore 715be3982a Fix application of pagination options on ListCopilotSeats endpoint (#3090) 2024-04-29 18:44:50 -04:00
Matthew William Reidy 108f958f6f Allow an empty array of repo ids as a request parameter (#3155)
Fixes: #3106.
2024-04-29 17:28:04 -04:00
Tayo Oloyede d067824454 Add Missing Changes Field to Member Event Type. (#3153)
Fixes: #3154.
2024-04-25 16:47:09 -04:00
Matthew William Reidy b02f283714 Add support for merge queue ruleset JSON unmarshaling (#3131)
Fixes: #3098.
2024-04-18 21:25:10 -04:00
Liam Stanley 24209f0347 feat: Add missing github enterprise importer and domains meta fields (#3121) 2024-04-03 15:51:18 -04:00
tomfeigin 9b87ff3d96 Print the unrecognized repository rule type (#3113) 2024-04-01 19:07:12 -04:00
Glenn Lewis a4b145ac24 Bump version of go-github to v61.0.0 (#3118) 2024-04-01 15:01:23 -04:00
ganeshkumarsv e85a74dd6a Add CreateOrUpdateRepoCustomPropertyValues (#3109) 2024-03-29 11:38:06 -04:00
Hari Charan Korrapati 8c1032ac98 feat!: Update deprecated endpoints in github/action_variables.go (#3104)
Fixes: #3103.

BREAKING-CHANGE: The following endpoints now take `owner` and `repo` (string) names instead of an integer repo ID:

ActionsService.ListEnvVariables
ActionsService.GetEnvVariable
ActionsService.CreateEnvVariable
ActionsService.UpdateEnvVariable
ActionsService.DeleteEnvVariable
2024-03-28 14:33:35 -04:00
Alin Balutoiu 189123903e Fix pagination for ListCopilotSeats (#3112) 2024-03-26 15:11:42 -04:00
Glenn Lewis 8bec011ec3 Add NotificationSetting to NewTeam (#3111)
Fixes: #3107.
2024-03-25 09:21:05 -04:00
Alex Rosenzweig b3e96fdc1f Allow Installation of Custom Properties Permissions (#3108) 2024-03-24 17:29:11 -04:00
Léo Salé dbf91ee0f7 Add audit log rate limit category and make rate limit category getter public (#3088) 2024-03-20 08:53:47 -04:00
Jake Scaltreto 2c1b36c92f Add Protection to Branch struct (#3095) 2024-03-11 10:31:34 -04:00
tomfeigin 9bb6bf428d Allow querying rule set information by ID with information returned from GetRulesFromBranch (#3089) 2024-03-03 08:51:07 -05:00
Glenn Lewis ffe505198c Bump version of go-github to v60.0.0 (#3086) 2024-02-29 12:16:23 -05:00
Francesco Giordano 73422173c6 feat!: Change Hook.Config field from map to *HookConfig (#3073)
Fixes: #3072.

BREAKING CHANGE: Changes `Hook.Config` from `map[string]interface{}` to `*HookConfig`.
2024-02-17 10:10:21 -05:00
Shervil Gupta 454c1ddaeb Add test case for JSON resource marshaling (#3080) 2024-02-16 12:34:01 -05:00
Florian Maier 5bf78f8b6b Rename function parameters to match usage as url parameters (#3078) 2024-02-15 15:51:22 -05:00