Commit Graph

5014 Commits

Author SHA1 Message Date
Liam Neville
2d4ba4e891 [FEAT] Self-hosted runners and Self-hosted runner groups APIs v5.1.0 2023-04-28 13:03:15 -05:00
gitasaurus
a3299ac4b4 Removing empty object paramater in MigrationsClient.DeleteArchive (#2698)
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-04-14 16:33:44 -07:00
Thomas Lem
5292e182e8 Added missing 'container' property in metadata on a package version. (#2696)
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-04-14 14:38:40 -07:00
Roman
7b1fa04b38 [FEAT] Allow users to fetch all commits for two commits comparision (#2690) 2023-04-14 11:41:24 -07:00
Maciej
aed70e335a Added Mannequin account type for migrated repos (#2694)
* Added Mannequin account type for migrated repos

Fix issue #2687

* Update AccountType.cs

* Added information about mannequin account type
v5.0.4
2023-04-11 16:46:06 -07:00
dependabot[bot]
f10f5f36a2 build(deps): bump GitHubJwt from 0.0.5 to 0.0.6 (#2691)
Bumps [GitHubJwt](https://github.com/adriangodong/githubjwt) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/adriangodong/githubjwt/releases)
- [Commits](https://github.com/adriangodong/githubjwt/compare/0.0.5...0.0.6)

---
updated-dependencies:
- dependency-name: GitHubJwt
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
v5.0.3
2023-04-03 16:41:06 -07:00
Vita Chumakova
7349ecd668 [feat] Add missing workflow run conclusions 2023-03-24 15:06:44 -05:00
Lian Duan
ddb66ed712 [FEAT] Implement GetAllOrganizationMembershipsForCurrent (#2654) v5.0.2 2023-03-10 12:42:42 -06:00
Heath Stewart
7f11726852 [Bug] Correctly deserialize CollaboratorPermissionResponse (#2682)
Fixes #2681
2023-03-10 12:09:08 -06:00
dependabot[bot]
7d01bad297 build(deps): bump NSubstitute from 4.4.0 to 5.0.0 (#2669) v5.0.1 2023-03-09 12:56:53 -06:00
notauserx
1300427bdd [FEAT] Updates permissions for App Installations and Collaborators endpoints 2023-03-08 10:27:29 -06:00
dependabot[bot]
b5cf402032 build(deps): bump Microsoft.NET.Test.Sdk from 17.4.1 to 17.5.0 (#2677)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.1 to 17.5.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.4.1...v17.5.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 15:46:18 -08:00
Heath Stewart
8ba882e98d Add StateReason to IssueUpdate (#2665)
Fixes #2664

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2023-02-21 16:03:20 -06:00
Yankai
66587ee0d1 [feat] Add Response caching 2023-02-07 11:35:54 -06:00
Nick Floyd
00b89daa23 [maint] Removes the old implementation of sourcelink and uses the newer one present in the .net SDK (#2666)
* reoves the old implemetnation of sourcelink and uses the newer one  present in the .net SDK

* cleans up appveyor

* updates proj with sourcelink props

* adds deterministic build check as well.

* Update docs/debugging-source.md

Co-authored-by: Keegan Campbell <me@kfcampbell.com>

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-02-07 11:14:49 -06:00
Aleksei Beliakov
e3e27bbe04 [feat] Add pending WorkflowRunStatus
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2023-01-23 17:08:52 -06:00
Keegan Campbell
24398bf56d Happy New Year! (#2660) 2023-01-20 13:54:45 -06:00
notauserx
891015c39f update models with updated permission enum (#2633)
* update models with updated permission enum

* add suppress message attribute

* update integration tests

* refactor: new and legacy update teams endpint

* refactor: add new delete team endpoint

* use TeamPermission on NewTeam

* use updated delete on team context dispose

* add permission enum for team response object

* refactor: remove legacy suffix from method names

* introduce permissions object on Team

* refactor: rename enum to TeamRepositoryPermission

* fix formatting

* change Permission to string to match api specs

* add TeamRepository

* add CheckTeamPermission endpoint support

* fix convention tests

* update comments on TeamRepository props

* add two new endpoints in TeamsClient

* refactor: rename ApiUrl for TeamPermission

* fix test

* implement methods for new endpoints

* add the integration tests

* fix spelling

* update comments

* refactor: rename method name

* fix: add end tag for remarks

* refactor: remove unused method param

* fix docstring comment

* the unit tests are in finally

* add docs for teams api

* split CheckTeamPermissions into two methods

* Update ObservableTeamsClientTests.cs based on review

Co-authored-by: Keegan Campbell <me@kfcampbell.com>

* add cref to legacy update and delete endpoints

* remove editorconfig file

* Update Octokit.Tests/Clients/TeamsClientTests.cs

Co-authored-by: Keegan Campbell <me@kfcampbell.com>

* remove unused line

* rename variable based on review

* rename prop to match constructor param

* add comment to explain TeamPermission enum values on update

Co-authored-by: notauserx <notauserx@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
v5.0.0
2023-01-20 10:48:00 -08:00
Keegan Campbell
bf6678543f Remove instances of lower-case h (#2655) v4.0.4 2023-01-12 11:56:44 -06:00
dependabot[bot]
bf72b5e886 build(deps): bump Cake.Coverlet from 3.0.2 to 3.0.4 in /build (#2652)
Bumps [Cake.Coverlet](https://github.com/romanx/Cake.Coverlet) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/romanx/Cake.Coverlet/releases)
- [Commits](https://github.com/romanx/Cake.Coverlet/commits)

---
updated-dependencies:
- dependency-name: Cake.Coverlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-01-11 13:36:15 -08:00
Octokit Bot
4a77e4d0f0 🚧 Workflows have changed (#2651)
Updates for workflows
2023-01-09 16:05:16 -06:00
dependabot[bot]
a8fc68c21a build(deps): Removes the dependency of .NET Core app 3.1 and bumps Cake.Coverlet from 2.5.4 to 3.0.2 in /build (#2616) 2023-01-05 11:55:45 -06:00
dependabot[bot]
04d2a8724f build(deps): bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 (#2642)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.0 to 17.4.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Changelog](https://github.com/microsoft/vstest/blob/main/docs/releases.md)
- [Commits](https://github.com/microsoft/vstest/compare/v17.4.0...v17.4.1)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-01-03 11:28:49 -08:00
Octokit Bot
f022f0b091 🚧 Workflows have changed (#2647)
Updates for workflows
2023-01-03 09:11:17 -06:00
Octokit Bot
b312ae6a05 Workflows have changed (#2640)
Updates for workflows
2022-12-16 11:44:07 -08:00
Octokit Bot
450c2a1496 Workflow linting fix (#2638)
Updates for workflows
2022-12-12 11:58:13 -08:00
Zachary Cook
84d44dc566 [FEAT] Adds support listing branch/pr per commit 2022-12-08 08:27:50 -06:00
GitHub Action
bf740bbdd1 Github Agent | Workflow has updated 2022-12-06 15:10:28 +00:00
GitHub Action
5b8f3b169f Github Agent | Workflow has updated 2022-12-06 15:07:13 +00:00
GitHub Action
45ec41eb4d Github Agent | Workflow has updated 2022-12-06 15:03:16 +00:00
GitHub Action
826539e50f Github Agent | Workflow has updated 2022-12-06 14:58:54 +00:00
Nick Floyd
0f693adce7 [MAINT] Updates the stale action to use the new status labels 2022-12-02 14:19:29 -06:00
Matisse Hack
0475f084f0 Add missing properties for meta and app payloads (#2625)
* Add missing properties for meta and app payloads

* Update test with actual value instead of null

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
v4.0.3
2022-12-01 16:38:54 -08:00
Zero-Point-Three Mach
64614ce1d3 Fix #2618 - Improve docs for the 'release' chapter (#2628)
Fix sample code and add 'get latest' section

1. Fix the sample code for "Get All" not working.
2. Add the "Get Latest" section.
2022-12-01 15:56:06 -08:00
Martin Costello
978093803c [bug] Fix API URLs for GitHub Enterprise Server (#2626)
* Fix API URLs for GHES

Fix leading slashes causing API calls to fail when used with GitHub Enterprise.

* Fix tests

Fix tests that should have been updated in the previous commit.

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2022-11-30 16:00:45 -08:00
notauserx
46b5077b16 add islocked filter to SeachIssuesRequest (#2623)
* add islocker filter to SeachIssuesRequest

* update docs

* Update docs/search.md with review suggestions

Co-authored-by: Keegan Campbell <me@kfcampbell.com>

Co-authored-by: notauserx <notauserx@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2022-11-30 15:20:19 -08:00
minoura-a
6c11c1edff [bug]: Fixed a bug that content cannot be retrieved if "#" is included in a file or folder name. v4.0.2 2022-11-23 11:13:29 -06:00
Martin Costello
8f01a31694 [feat]: Adds Actions workflow API clients 2022-11-23 09:35:58 -06:00
semyon-p
b0e02e9d2e [feat]: Added Environments API - GetAll list only feature 2022-11-17 11:49:37 -06:00
Michal Ciechan
b998d08408 [feat]: Adding repo allowupdatebranch 2022-11-16 12:35:36 -06:00
Nick Floyd
e3c06ba97b Add PR templates (#2612)
feat: add pull_request_template.md PR template
2022-11-14 14:18:48 -08:00
dependabot[bot]
fd9f73d95d [maint]: bump Microsoft.Bcl.AsyncInterfaces from 6.0.0 to 7.0.0 (#2605) 2022-11-14 15:15:12 -06:00
dependabot[bot]
961a5f7b9d build(deps): bump Microsoft.NET.Test.Sdk from 17.3.2 to 17.4.0 (#2606)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.2 to 17.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.2...v17.4.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-07 16:53:27 -08:00
Keegan Campbell
1d9847081b [maint] Add issue templates (#2604) 2022-11-04 14:58:38 -05:00
Nick Floyd
a6a74c29af Removes references to old labels and updates release steps (#2601) 2022-10-31 12:39:00 -05:00
Nick Floyd
5b28c7ee68 Update stale.yml 2022-10-26 16:53:47 -05:00
Keegan Campbell
131ba87e3f Replay #2221: Implement GitHub Actions Secrets API for both Organization and Repository (#2598)
* created the interface and models for the repository secrets client

* created a repository actions client to sit between repository and secrets for future extensibility

* created the repository secret client and supporting objects to enable data transfer

* created object for create or update secret body and made fixes to pass unit tests

* created repository action unit tests

* created unit tests for RepositorySecretsClient

* removed set from secrets interface

* fixed docs and added observable actions client

* added Actions to repository client

* created IObservable repository secrets client

* fixed property in wrong interface
fixed wrong Ctor unit test

* created repository decrets reactive tests and clients

* created organization actions and scerets classes and made them available through the oprganizations client

* fixed intellisense text

* removed uneeded getall call after return type change

* created organization secret client and classes to support it

* created the observable org secrets client and fixed a typo in a method name

* added more ensure checks

* removed unused xml doc setting

* created the unit tests for the organization secrets client
fixed broken unit test for repository secrets client

* created observable organization actions and secrets client unit tests

* added sodium.core to the integration tests to test secret creation

* fixed keyid type

* added actions client integration test classes (empty since the class currently doesn't have any native methods)

* fixed deserialization issue

* changed property name for deserialization issues

* added doc for repoid on orginzation secrets url generator

* created integration tests for repository and organization secrets

* changed how return occurs for setting list of repos for secret

* fixed some names and removed reset org name

* created integration tests for observable org secrets client

* removed  default org value

* created the integration tests for the observable repository secrets client

* removed default owner project value

* fixed unit tests

* Update links to new docs site

* Update doc links to new docs site

* Update docs links to new docs site

* Fix doc link to point to new docs site

* Update links to new docs site

* Update doc links to new docs site

* Update docs links

* Update docs

* Update docs

* Update doc links

* Update docs

* Update doc links

* Update doc links

* Update doc links

* updated documentation links in actions and secrets clients

* Update Octokit/Models/Response/SecretsPublicKey.cs

Removing line for consistency.

Co-authored-by: Thomas Hughes <iamhughes@github.com>

* Update Octokit/Models/Response/RepositorySecret.cs

Removing line for consistency.

Co-authored-by: Thomas Hughes <iamhughes@github.com>

* set default owner and repo

* switched to using the Helper.Organization from a ORG constant set at the top of the file

* swapped out variable at top of file for the Helper.Organization property

* switched to helper method to create new repositories

* Protected setters --> private setters in response models

* RepositorySecret needs protected setters

Co-authored-by: Mike Tolly <mike.tolly@takeda.com>
Co-authored-by: Thomas Hughes <iamhughes@github.com>
Co-authored-by: mptolly-takeda <61791994+mptolly-takeda@users.noreply.github.com>
v4.0.1
2022-10-20 14:59:31 -07:00
bloslo
9c5392b323 Add missing properties to IssueEvent. (#2585)
* Add missing properties to `IssueEvent`.

* Assign `Milestone` propety in constructor.

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2022-10-19 14:50:19 -07:00
Matt
7b6d57af33 Add NewRelease.GenerateReleaseNotes property (#2596)
* Add `GenerateReleaseNotes` property

Enable generating release notes during creation of a release.

* Update release docs
2022-10-18 06:38:50 +01:00
dependabot[bot]
d68fc27c13 build(deps): bump Cake.Frosting from 2.2.0 to 2.3.0 in /build (#2597)
Bumps [Cake.Frosting](https://github.com/cake-build/cake) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/cake-build/cake/releases)
- [Changelog](https://github.com/cake-build/cake/blob/develop/ReleaseNotes.md)
- [Commits](https://github.com/cake-build/cake/compare/v2.2.0...v2.3.0)

---
updated-dependencies:
- dependency-name: Cake.Frosting
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 16:18:58 -07:00