Commit Graph

5082 Commits

Author SHA1 Message Date
Chris
b1a2cf52ed [FEAT] Add support for "Require approval of the most recent reviewable push" (#2839)
Add support for "Require approval of the most recent reviewable push"

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
v9.1.0
2024-01-03 10:42:22 -06:00
MareMare
3e92a697b4 [Fix]: The methods GetAllForCurrentWithTimestamps and GetAllForUserWithTimestamps now return timestamps.
* Fix unit tests.

* Fix integration tests.

* Fix to use `AcceptHeaders.StarJson`.

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-02 16:12:19 -06:00
Dirty Gooback
f9c5b6992a [feat]: Implement Actions OIDC Client (#2828)
implement actions OIDC client

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-02 16:04:07 -06:00
Dylan Morley
a2a4f09c24 [FEAT]: Adding Copilot for Business support (#2826)
* initial tests and implementation of Copilot for Business client API

* updated billing settings documentation

* renames and refactors - clarity and simplified

* using context to ensure license clean up

* extra documentation and used ApiOptions instead of custom class

* implemented observable clients

* Fixing convention issues

* renaming for clarity

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-02 15:57:14 -06:00
Andrey Akinshin
48d061afd2 [feat] Introduce NewRelease.DiscussionCategoryName, Fixes #2746
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-02 15:51:21 -06:00
dependabot[bot]
0e386621d1 build(deps): bump xunit.runner.visualstudio from 2.5.5 to 2.5.6 (#2840)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.5...2.5.6)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  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>
2024-01-02 14:50:31 -06:00
dependabot[bot]
4c5edf57f1 build(deps): bump xunit from 2.6.3 to 2.6.4 (#2841)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.3 to 2.6.4.
- [Commits](https://github.com/xunit/xunit/compare/2.6.3...2.6.4)

---
updated-dependencies:
- dependency-name: xunit
  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>
2024-01-02 14:41:11 -06:00
dependabot[bot]
7b7cfd3ea0 build(deps): bump Cake.Frosting from 2.3.0 to 4.0.0 in /build (#2814)
* build(deps): bump Cake.Frosting from 2.3.0 to 4.0.0 in /build

Bumps [Cake.Frosting](https://github.com/cake-build/cake) from 2.3.0 to 4.0.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.3.0...v4.0.0)

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

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

* Lifetime.cs#Setup inheritance fixed

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-12-18 13:47:36 -08:00
dependabot[bot]
c895ac8efb build(deps): bump xunit from 2.6.1 to 2.6.3 (#2834)
* build(deps): bump xunit from 2.6.1 to 2.6.3

Bumps [xunit](https://github.com/xunit/xunit) from 2.6.1 to 2.6.3.
- [Commits](https://github.com/xunit/xunit/compare/2.6.1...2.6.3)

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

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

* Add required async/awaits

* public async void --> public async Task

---------

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-12-18 13:07:52 -08:00
dependabot[bot]
849be93056 build(deps): bump xunit.runner.visualstudio from 2.5.4 to 2.5.5 (#2831)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.4 to 2.5.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.4...2.5.5)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  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>
2023-12-18 11:13:55 -08:00
Octokit Bot
a74efefdc4 🚧 Workflows have changed (#2830)
Updates for workflows
2023-12-11 16:23:24 -06:00
Jordan Dominion
964400061d Allow the constructor for ProductHeaderValue to accept a framework version of the object (#2821) 2023-12-11 10:08:02 -08:00
Octokit Bot
2e88736037 don't run immediate response on Actions- or octokitbot-driven changes (#2819)
Updates for workflows
2023-11-22 13:02:37 -08:00
dependabot[bot]
f33cca5cac build(deps): bump Microsoft.Bcl.AsyncInterfaces from 7.0.0 to 8.0.0 (#2817)
Bumps [Microsoft.Bcl.AsyncInterfaces](https://github.com/dotnet/runtime) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/compare/v7.0.0...v8.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.Bcl.AsyncInterfaces
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 14:55:38 -08:00
dependabot[bot]
b24351ebc5 build(deps): bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 (#2816)
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink) from 1.1.1 to 8.0.0.
- [Release notes](https://github.com/dotnet/sourcelink/releases)
- [Commits](https://github.com/dotnet/sourcelink/compare/1.1.1...8.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 14:54:40 -08:00
dependabot[bot]
7af9e84ef5 build(deps): bump xunit.runner.visualstudio from 2.5.3 to 2.5.4 (#2815)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.3 to 2.5.4.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.3...2.5.4)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  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>
2023-11-21 10:10:59 -06:00
dependabot[bot]
896e7f5b56 build(deps): bump Microsoft.NET.Test.Sdk from 17.7.2 to 17.8.0 (#2811)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.2 to 17.8.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.7.2...v17.8.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-11-20 13:52:26 -08:00
Dirty Gooback
f679108db5 [feat]: Adds GraphQL rate limit property to the rate limit client
add in graphql rate limit
2023-11-13 16:19:38 -06:00
Martin Costello
4f826bc65b [fix] Fix handling for Streams in IConnection for raw content (#2791)
* Fix handling for Streams

Fix `NullReferenceException` if raw content was handled as a string rather than a stream by `HttpClientAdapter.BuildResponse()`.
Resolves #2789.

* Add Connection.GetRaw tests

Add tests for `Connection.GetRaw()` and for #2789.

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-11-06 16:47:30 -08:00
dependabot[bot]
c015d8ce53 build(deps): bump xunit from 2.5.3 to 2.6.1 (#2808)
Bumps [xunit](https://github.com/xunit/xunit) from 2.5.3 to 2.6.1.
- [Commits](https://github.com/xunit/xunit/compare/2.5.3...2.6.1)

---
updated-dependencies:
- dependency-name: xunit
  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-11-06 15:42:15 -08:00
Nick Floyd
27aa6e5399 [BREAKING CHANGE]: Removes the .NET 5.0 support (#2806) v9.0.0 2023-10-31 16:04:42 -05:00
Dirty Gooback
335632b08c [feat]: Add RenameBranch method to RepositoryBranchesClient (#2799)
* added RenameBranch method to RepositoryBranchesClient

* revert forced version

* tabs -> spaces :(

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-10-30 14:59:37 -07:00
dependabot[bot]
35d2ee443d build(deps): bump xunit from 2.5.1 to 2.5.3 (#2804)
Bumps [xunit](https://github.com/xunit/xunit) from 2.5.1 to 2.5.3.
- [Commits](https://github.com/xunit/xunit/commits)

---
updated-dependencies:
- dependency-name: xunit
  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>
2023-10-16 16:22:02 -07:00
dependabot[bot]
1b802a9b9d build(deps): bump xunit.runner.visualstudio from 2.5.1 to 2.5.3 (#2805)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.1 to 2.5.3.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.1...2.5.3)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  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>
2023-10-16 16:12:34 -07:00
Jericho
1eac8315ff (fix) RepositoryContentsClient.GetArchive does not return the expected binary content (#2803)
* (GH-2802) Add unit test to demonstrate the problem

This unit test currently fails which demonstrates the problem and it should pass when I am done with the PR

* (GH-2802) Add a GetRaw method that accepts a timeout

I debated adding an optional parameter for the timeout to the existing GetRaw method (which would be my personal preference) but it would be a breaking change and I doubt the Octokit team would be interested in such a change

* (GH-2802) Invoke `GetRaw` rather than `Get>byte[]>` when retrieving a repo's archive content.

This ensure stream content are handled properly and solves the problem described in GitHub issue 2802

* (GH-2802) Fix unit tests that got broken due to my recent change to the GetArchive method

* (GH-2802) Fix formatting

* (GH-2802) Fix more formatting
2023-10-16 10:38:12 -07:00
Michael Jolley
7b3abda711 [feat]: Adding missing properties to PushEventPayload (#2795) v8.1.1 2023-10-09 15:35:41 -05:00
Michael Jolley
fdd93c8428 [feat]: Adding repository variables 2023-10-09 15:24:05 -05:00
Perry
5dd3cfe5e4 [feat]: Add archive url to repository info
* Add archive url to repository info

* Add test

---------

Co-authored-by: Perry <perry@perry.dev.br>
2023-10-09 13:20:03 -05:00
Martin Costello
12e29abe46 [fix]: Bumps GitVersion.Tool
Update to the latest stable version of GitVersion.Tool that supports .NET 6.
Resolves #2791.

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2023-10-03 11:57:50 -05:00
Octokit Bot
d79ca99636 [maint]: Updated immediate response workflows via automation (#2793)
Updates for workflows
2023-10-03 11:44:36 -05:00
Tom Longhurst
0238092ca0 [bug]: GetAllStargazersWithTimestamps was not returning timestamps (#2785) v8.0.1 2023-09-26 09:26:48 -05:00
Tom Longhurst
958bc5f1f8 [feat]: SDKs for ActionsArtifacts APIs 2023-09-25 14:16:41 -05:00
dependabot[bot]
03e7644f5e build(deps): bump xunit.runner.visualstudio from 2.5.0 to 2.5.1 (#2775) v7.2.0 v8.0.0 2023-09-22 13:39:36 -05:00
Dirty Gooback
50265be680 [feat] Expose WebCommitSignoffRequired and HasDiscussions for get and update repository objects (#2773) 2023-09-22 09:38:18 -05:00
dependabot[bot]
8e0bf54c5a build(deps): bump xunit from 2.5.0 to 2.5.1 2023-09-22 09:10:21 -05:00
Pavel Kindruk
57a29e90d0 [Bug]Fix pagination when ApiOptions.StartPage is explicitly set. 2023-09-22 09:09:37 -05:00
Liam Neville
dcc31b8e0c [Feat] Add suspended_at and suspended_by to the Installation model 2023-09-21 16:12:30 -05:00
dependabot[bot]
f8aee83691 build(deps): bump NSubstitute from 5.0.0 to 5.1.0 (#2770) 2023-09-15 15:20:00 -05:00
Gareth Jones
5610c3bef4 ci: don't put a comment on PRs from dependabot or renovate (#2769) 2023-09-11 14:58:30 -05:00
dependabot[bot]
5029a0cfd1 build(deps): bump Microsoft.NET.Test.Sdk from 17.7.1 to 17.7.2 (#2768)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.1 to 17.7.2.
- [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.7.1...v17.7.2)

---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 10:19:17 -07:00
capdiem
c40c6b8e5c fix(SearchIssuesRequest): wrap label in quotes if it contains spaces (#2767) 2023-08-31 08:51:53 -05:00
dependabot[bot]
6c8215d46d build(deps): bump Microsoft.NET.Test.Sdk from 17.7.0 to 17.7.1 (#2764)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.7.0 to 17.7.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.7.0...v17.7.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 17:35:26 -07:00
Lehonti Ramos
d46527d143 Added readonly to fields that are never modified (#2759)
Co-authored-by: Lehonti Ramos <john@doe>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-08-11 09:53:51 -07:00
dependabot[bot]
6ab43b2d41 build(deps): bump Microsoft.NET.Test.Sdk from 17.6.3 to 17.7.0 (#2760)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.6.3 to 17.7.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.6.3...v17.7.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-08-07 16:36:31 -07:00
Jeff Lill
7fe4c4ee90 [feat] Adds support for making branches read-only (#2715) 2023-08-03 16:32:02 -05:00
Jasper Arildslund
729f261ecb [feat]: Support make_latest for create and update release endpoints 2023-08-03 16:26:58 -05:00
Ken Christensen
bbcd33d96e Support refreshtokens in OAuth flow (#2749)
* Support refreshtokens in OAuth flow
Fixes #2731

* Added summary to OauthToken.cs constructors

* Mark deprecation of non-refreshToken constructor for OauthToken

* Remove unnecessary comment

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
v7.1.0
2023-07-27 15:46:03 -07:00
Nick Floyd
8974796e0b Add auto responder workflow (#2754)
feat: add immediate-response.yml auto responder workflow
2023-07-27 14:00:23 -05:00
Nick Floyd
e27eb2b5d7 Add PR templates (#2751)
* octoherd: delete pull_request_template.md

* feat: add pull_request_template.md PR template
2023-07-20 10:24:24 -05:00
dependabot[bot]
c69182a7ed build(deps): bump xunit.runner.visualstudio from 2.4.5 to 2.5.0 (#2744)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.5 to 2.5.0.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/v2.4.5...2.5.0)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  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-07-11 10:25:39 -07:00