Commit Graph

4970 Commits

Author SHA1 Message Date
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
Andrey Tretyak
40b2111f4d Add strong name signing (#2575) v4.0.0 2022-10-10 12:03:51 -05:00
Riccardo De Agostini
fa29939f50 Use correct methods and URL to generate release notes (#2592) v3.0.1 2022-10-07 13:06:53 -05:00
Chris Simpson
971fa50d6e Base classes need protected setters, ActivityPayload had privates (#2591) 2022-10-07 12:32:36 -05:00
Nick Floyd
92524a1b40 updates rhow to deploy to simplify 2022-10-07 16:30:43 +00:00
Gregor Martynus
8624d90e80 ci: revert 0d6b7c41 and 30fdeca1 (#2584) 2022-09-28 14:18:19 -05:00
dependabot[bot]
a49cc2ed66 build(deps): bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2 (#2583) 2022-09-28 08:25:17 -05:00
Gregor Martynus
0d6b7c4119 ci(publish.yml): set version v3 to actions/checkout 2022-09-27 15:24:53 -07:00
Gregor Martynus
30fdeca1d2 ci(netcore.yml): set version v3 to actions/checkout 2022-09-27 15:24:52 -07:00
Nick Floyd
a7ffa3f411 updates tests to include new fields for the meta resource (#2581) 2022-09-20 16:21:58 -05:00
Chris Simpson
3e5c5496b9 Fixes the meta dto and meta tests so they pass and are fully the same… (#2579) 2022-09-20 15:17:48 -05:00
Chris Simpson
2701be5e79 Fix deserializing of Emoji types (#2577) 2022-09-20 15:15:19 -05:00
Chris Simpson
3c05db4065 Splitting out the misc client into separate clients as per current documentation (#2574) 2022-09-20 14:37:49 -05:00
Sean Killeen
05aa951d41 Remove /en slug in docs.github.com links (and stop VSCode from formatting on save) (#2573) 2022-09-20 14:35:13 -05:00
Chris Simpson
063e85e4db Adding credential-authorization get endpoints (#2556) v3.0.0 2022-09-12 14:08:59 -05:00
Hans Bakker
098557b767 Adds missing fields for deployments API (#2560) 2022-09-12 13:37:54 -05:00
Nick Floyd
9ceb1885dc Convert response model property accessors from protected to the more appropriate private for consistency (#2565) 2022-09-12 10:24:21 -05:00
Chris Simpson
cf9db5fc46 feat: Adds Packages and Package versions APIs (#2551) 2022-09-08 09:59:46 -05:00
Rares Iova
b3d2096766 [Releases]Added support for generating release notes (#2563) 2022-09-07 11:01:32 -05:00
dependabot[bot]
d88a9071d8 build(deps): bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.2 to 1.0.3 (#2549)
build(deps): bump Microsoft.NETFramework.ReferenceAssemblies

Bumps [Microsoft.NETFramework.ReferenceAssemblies](https://github.com/Microsoft/dotnet) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/Microsoft/dotnet/releases)
- [Commits](https://github.com/Microsoft/dotnet/commits)

---
updated-dependencies:
- dependency-name: Microsoft.NETFramework.ReferenceAssemblies
  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>
2022-09-06 14:42:37 -05:00
Annchous
0069239774 Fix failure with 201 status code on adding a collaborator (#2559)
* fix: return RepositoryInvitation instead of throwing an exception on 201

* fix: TheAddMethod test
2022-09-06 06:36:48 +01:00
dependabot[bot]
9c3317f711 build(deps): bump Microsoft.NET.Test.Sdk from 17.3.0 to 17.3.1 (#2561)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.0 to 17.3.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.0...v17.3.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>
2022-09-06 06:24:56 +01:00
Randy Kreisel
269201cd96 Remove reference to Basic Authentication in the docs (#2555)
* Update getting-started.md

Edited the section on Authentication to remove Basic Auth, which GitHub no longer supports, with instructions for using a Personal Access Token.

* Update getting-started.md

Second commit: Removed "/en" from links.

* Update docs/getting-started.md

Co-authored-by: Tim Rogers <timrogers@github.com>

* Update docs/getting-started.md

Co-authored-by: Tim Rogers <timrogers@github.com>

* Update getting-started.md

Removed the two bullet pointed items because the sentence preceding them provided a clearer description of the options.

Co-authored-by: Tim Rogers <timrogers@github.com>
2022-08-30 12:36:02 +01:00
Gamer025
498c2aa0a5 Add ability to pass ApiOptions to PullRequestsClient.Files (#2553)
* Add ability to pass ApiOptions to PullRequestsClient.Files

* Change Reactive PullRequestClient + Fix Test Mocking
2022-08-28 15:12:27 +01:00
dependabot[bot]
3d53362bd7 build(deps): bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.0 (#2548)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.2.0 to 17.3.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.2.0...v17.3.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-08-19 18:39:23 +01:00
notauserx
595e35d641 add active lock reason to PR (#2543)
* add active lock reason to PR

* update docs

* refactor: extract lock and unlock from IIssuesClient
create ILockUnlockClient so both IIssuesClient and IPullRequestClient can
access lock and unlock methods.

* refactor LockUnlock for reactive clients

* Update doc to include lock unlock sample code

* Use Assert.Null to check null value in test

Co-authored-by: notauserx <notauserx@users.noreply.github.com>
2022-08-19 18:36:47 +01:00
Chris Simpson
b866d669d6 feat: Adding seats and filled seats to plan response. (#2539) v2.0.1 2022-08-12 12:21:36 -05:00
Chris Simpson
176bf386a0 maint: Tidying up DefineConstants (#2538) 2022-08-12 12:19:26 -05:00
Chris Simpson
b4ca7c7c57 docs: Adds documentation on how to create a branch (#2541) 2022-08-11 01:35:54 -05:00
Nick Floyd
1e3fa1d770 feat: Adds generators project and AsyncPaginationExtension generator (#2537) 2022-08-11 01:34:16 -05:00
Fredi Kats
5386257a3f feat: implement getting failed org invites (#2533) 2022-08-09 09:10:12 -05:00
Chris Simpson
bc156af4e6 maint: Fixing the use of the binary formatter in net461 so all unit tests now pass. (#2535) 2022-08-09 09:04:06 -05:00
Stefan
eaef1eee26 feat: Adds AsyncPaginationExtensions (#2516) 2022-08-08 10:27:46 -05:00
Chris Simpson
651d9818c7 ci(build): Fixes a number of warnings for a cleaner build (#2529)
* Fixing a number of warnings for a cleaner build

* Removing extra Summary slashes
2022-08-08 10:20:37 -05:00
Fredi Kats
5d4c928ee6 docs: Update dotnet supported version in readme (#2532) 2022-08-08 10:18:06 -05:00
notauserx
536e5c3737 feat: adds active lock reason to issue (#2525) 2022-08-05 16:44:17 -05:00
Chris Simpson
a7d5e339d5 bug: Fixing issues with two factor authentication overload and certain endpoints (#2524) v2.0.0 2022-08-04 15:39:47 -05:00
Nick Floyd
6e72fdaa59 feat: Drop support for .NET 4.6 (#2521) 2022-08-04 12:12:49 -05:00
notauserx
4d46d5fb41 docs: update code docs for SetRequestTimeout (#2520) 2022-08-03 10:17:48 -05:00
Brend Smits
80b82aa973 docs: Moves deprecation warning from subscribers_count to watchers_count. (#2519)
Subscribers_count shows the actual watchers_count. Many people think they are retrieving the watchers_count, but are actually retrieving the stargazers_count...
This is because the GitHub UI is still calling subscribers, "Watchers".
To prevent many others from falling into this trap, a warning should be added to the watchers_count property.

On top of this, subscribers_count is no longer deprecated as far as the GitHub documentation goes.

Fixes #2509

Signed-off-by: Brend Smits <brend.smits@philips.com>
2022-08-02 14:55:18 -05:00
dependabot[bot]
e8418085f8 deps: Bump xunit from 2.4.1 to 2.4.2 (#2518) 2022-08-02 14:46:17 -05:00
Chris Simpson
2f7bd00dd6 feat: Removing accept header previews (#2515) v1.0.1 2022-08-01 09:37:23 -05:00
Chris Simpson
840935a8d7 maint: Removes private repositories limit exception (#2514) 2022-07-27 14:04:51 -05:00
Chris Simpson
6892df80fe feat: Adds codeowners errors endpoint (#2512) 2022-07-27 13:53:02 -05:00
Chris Simpson
5fe3ea82f0 tests: Updates and fixes for tests, changing master to main and adding flaky tests marker (#2511) 2022-07-25 10:36:09 -05:00