5139 Commits

Author SHA1 Message Date
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
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