Commit Graph

5094 Commits

Author SHA1 Message Date
Patrik Husfloen
e4af6f919c feat: Add 'Pending' member to WorkflowJobStatus enum 2024-02-15 12:00:23 -06:00
Thomas Lem
c2178a4ea2 feat: Adds cancel invitation
* Added api request to cancel an organization invitation

* Added tests

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-02-13 15:11:14 -06:00
dependabot[bot]
bf3a3a3d29 build(deps): bump Microsoft.NET.Test.Sdk from 17.8.0 to 17.9.0 (#2884)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.8.0 to 17.9.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.8.0...v17.9.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>
2024-02-13 09:39:43 -06:00
Wesley Ford
350b8fe830 Fix: Add RequiredSignatures to the BranchProtectionSettingsUpdate Type (#2873)
* fix: added `RequiredSignatures` to the `BranchProtectionSettingsUpdate` types.

- Fixes #2855
- Updated `BranchProtectionSettingsUpdate` by adding `RequiredSignatures`.
- Update all integration `xUnit` tests to check for the `RequiredSignatures` property.

* docs: add comment documenting the `RequiredSignatures` property
2024-02-05 13:37:25 -08:00
Keegan Campbell
39d689651f docs: link corrections (#2874)
Fix a couple of master --> main branches in links
2024-02-05 12:44:18 -06:00
Slyck Lizzie
e87aa64973 [Feat] Allow build version to be passed in to build.ps1 via command line (#2864) v9.1.2 2024-02-01 14:30:30 -06:00
Slyck Lizzie
2a87dd0802 [Feat] Add Repository Autolinks Client (#2868) 2024-02-01 13:56:26 -06:00
Tom Longhurst
c9ddf3edc3 fix: Fix namespaces for Artifacts models (#2862) v9.1.1 2024-01-25 08:39:17 -06:00
Wesley Ford
edd080b59e [DOCS]: Removed the Related Projects Section from the README (#2860)
docs: removed related projects from `README`
2024-01-24 09:05:40 -08:00
Mitch Capper (they, them)
9bd519fc42 fix: Fixes PushId datatype to not overflow (fix user activity exception)
Bug introduced in #2795 Closes #2822

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-01-18 15:31:53 -06:00
Mihail Gribkov
4254287aef [feat] Add Rocket & Eyes reactions to ReactionSummary 2024-01-16 16:20:48 -06:00
dependabot[bot]
b57cc538a4 build(deps): bump xunit from 2.6.4 to 2.6.6 (#2853)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.4 to 2.6.6.
- [Commits](https://github.com/xunit/xunit/compare/2.6.4...2.6.6)

---
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-16 14:22:35 -06:00
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