Commit Graph

5130 Commits

Author SHA1 Message Date
Jordan Dominion
c5ce608639 Add support for Workflows CreateDispatch via repository ID (#2960)
Add support for workflow dispatch via repository ID
2024-08-16 14:23:46 -07:00
dependabot[bot]
799d464e04 Bump xunit.runner.visualstudio from 2.8.1 to 2.8.2 (#2958)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.8.1...2.8.2)

---
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-07-29 16:12:46 -07:00
Aaron Junker-Wildi
35f1784781 Adding support for creating Codespaces and getting available machine types (#2929)
Adding support for creating Codespaces
2024-07-29 13:43:50 -07:00
dependabot[bot]
148162a34b maint: Bump xunit from 2.8.1 to 2.9.0 (#2951)
Bumps xunit from 2.8.1 to 2.9.0.

---
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>
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-07-24 10:33:11 -05:00
dependabot[bot]
8199c03793 Bump xunit.runner.visualstudio from 2.8.1 to 2.8.2 (#2952)
Bumps xunit.runner.visualstudio from 2.8.1 to 2.8.2.

---
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-07-09 12:02:59 -05:00
Nick Floyd
6bb0408582 [FIX]: reworks all number parameter names to represent what they actually are. Refactors some types to be the appropriate types based on OpenAPI and docs. (#2948)
* reworks all number parameter names to represent what they actually are. Refactors some types to be the appropriate types based on OpenAPI and docs.

* updates interfaces and implementations for id naming

* updates reactive to match sync SDKs
v13.0.1
2024-07-02 15:31:59 -05:00
Nick Floyd
6565a07974 [BREAKING CHANGES]: int to long Ids for PreReceiveHook, Deployment Environments, Repository, Org Team, Repo Invitations, Public Key, Project Cards, Organization Invitation, Migrations, GpgKey, Deployment, Authorizations, Accounts / Profiles, Codespace / Workspaces (#2941)
* Fixes ids for Releases, Collaborators, and Contributors

* updates the interface for releases

* update the obverable release client

* updates ids from int to long based on GH database schema

* converts a test condition to use the proper type

* updates generated paging and observable classes
v13.0.0
2024-06-26 10:57:30 -05:00
Rasmus Mikkelsen
16cea259dd docs: Provide easy alternative to create App JWT token (#2937)
* Provide easy alternative to create App JWT token

* Make it clear that its the key content

* Commit suggested changes by @kfcampbell

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

* Add a reminder regarding the required using statements

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2024-06-24 12:34:59 -05:00
Colby Williams
c2aee1ac54 [FEAT]: Create a GitHub App from a manifest
* Create a GitHub App from a manifest

* Add missing InstallationPermissions

* observable and tests

* Remove ManualRoute on Observable route

---------

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-06-24 12:24:45 -05:00
Slyck Lizzie
b208057af6 [Feat] Add Advanced Security Properties to Repository Get/Update (#2865)
* add SecurityAndAnalysis to repository get/update

* add repository advanced security

* cleanup

---------

Co-authored-by: Dirty Gooback <19241000+dirtygooback@users.noreply.github.com>
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-06-24 12:00:00 -05:00
Lars Zweifel
bdc16944ae feat: added Missing APIOption overload for PackagesClient.GetAll* #2923 (#2934)
feat: added Missing APIOption overload for PackagesClient.GetAll* #2923

added missing APIOption overload for PackagesClient and ObservablePackagesClient
added overload for optional parameter packageVisibility to be a nonbreaking change
extended PackagesClientTests.cs to be conform with RepositoriesClientTests.cs to take ApiOptions into account
2024-06-21 12:17:55 -07:00
Colby Williams
1053a2045d [FEAT]: Search based on repository custom property (#2936)
search based on repository custom property
2024-06-21 12:09:43 -07:00
Colby Williams
9a3177e385 [FEAT]: Custom Properties (#2933)
* add custom properties model and clients

* observable

* observable tests

* add search

* error CS8370: 'target-typed object creation'

* Error CS8370: 'target-typed object creation'

* add patch with body that return status code

* fixes for failed ConventionTests

* working UnitTests

* (de)serialization and model tests

* Update Repository.cs
2024-06-17 15:01:20 -07:00
awedist
7d54cb0d85 feat: Implement dependency review and dependency submission APIs (#2932)
Implement dependency review and dependency submission

Co-authored-by: André Pereira <Andre.LuisPereira@Student.HTW-Berlin.de>
2024-06-14 17:03:11 -05:00
Victor
6c43183837 fix: comment id model update to long instead of int
* #2927: comment id model update to long instead of int

* #2927: code review fixes (1)

* #2927: code review fixes (2)

* #2927: comment id model update to long instead of int: unit tests fix

* #2927: code review fixes

* Fixed most names of parameters

---------

Co-authored-by: Victor Vorobyev <victor@myrtle-sa.com>
Co-authored-by: Brian C. Arnold <brian.arnold@spiderrock.net>
v12.0.0
2024-06-10 08:12:08 -05:00
Octokit Bot
f5ee959c5c 🚧 Workflows have changed (#2925)
Updates for workflows
2024-06-05 15:16:50 -05:00
dependabot[bot]
f8b9f7c280 Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 (#2922)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.9.0 to 17.10.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.9.0...v17.10.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>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2024-05-28 11:35:19 -07:00
dependabot[bot]
f937f56b0a Bump System.Reactive from 6.0.0 to 6.0.1 (#2921)
Bumps [System.Reactive](https://github.com/dotnet/reactive) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/dotnet/reactive/releases)
- [Commits](https://github.com/dotnet/reactive/commits/ixnet-v6.0.1)

---
updated-dependencies:
- dependency-name: System.Reactive
  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>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2024-05-28 11:29:46 -07:00
dependabot[bot]
5d15e86e44 Bump xunit.runner.visualstudio from 2.8.0 to 2.8.1 (#2920)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.8.0...2.8.1)

---
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-05-28 10:59:56 -07:00
dependabot[bot]
92792acbb7 Bump xunit from 2.8.0 to 2.8.1 (#2919)
Bumps [xunit](https://github.com/xunit/xunit) from 2.8.0 to 2.8.1.
- [Commits](https://github.com/xunit/xunit/compare/2.8.0...2.8.1)

---
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-05-28 10:51:34 -07:00
Seedysoft
615dee9c30 Fix Pacakges typo (#2917) 2024-05-13 15:50:00 -07:00
Andrew H
a31734014d Fix #2693 PageCount doesn't work if the query gets constructed with page number as the first query parameter (#2911)
Fix #2693

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2024-04-29 17:06:24 -07:00
dependabot[bot]
110b4e3706 Bump xunit from 2.7.1 to 2.8.0 (#2913)
Bumps [xunit](https://github.com/xunit/xunit) from 2.7.1 to 2.8.0.
- [Commits](https://github.com/xunit/xunit/compare/2.7.1...2.8.0)

---
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>
2024-04-29 16:18:08 -07:00
dependabot[bot]
285609551f Bump xunit.runner.visualstudio from 2.5.8 to 2.8.0 (#2914)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.8 to 2.8.0.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.8...2.8.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>
2024-04-29 16:07:08 -07:00
dependabot[bot]
5f4d939dd8 Bump xunit from 2.7.0 to 2.7.1 (#2909)
Bumps [xunit](https://github.com/xunit/xunit) from 2.7.0 to 2.7.1.
- [Commits](https://github.com/xunit/xunit/compare/2.7.0...2.7.1)

---
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-04-19 14:21:17 -07:00
dependabot[bot]
a22e7a6e9c Bump xunit.runner.visualstudio from 2.5.7 to 2.5.8 (#2908)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.7 to 2.5.8.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.7...2.5.8)

---
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-04-15 16:07:46 -07:00
Tom Longhurst
cd1835326b Fix xUnit Warnings (#2906)
* Fix xUnit Warnings

* Fix

* Fix formatting in AsyncPaginationExtensionGenerator.cs

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2024-04-15 13:19:26 -07:00
Tom Longhurst
4ca8f1cd2c fix: "zip" Content-Type resulting in null Stream for Artifacts on Blob Storage (#2905) v11.0.1 2024-04-15 09:28:10 -05:00
Tom Longhurst
889bf25979 feat/fix: Allow zip MIME type (#2902)
Not a standard MIME type but see issue #2898
v11.0.0
2024-04-10 15:32:18 -05:00
David Rant
92ff70b5ed BREAKING CHANGE (behavior): Modify caching to only attempt to update the response cache if a 2xx response code is received from GitHub (#2877)
Only update response cache for successful api responses

Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2024-03-12 14:36:11 -05:00
dependabot[bot]
1dc9c5e78c Bump Cake.Coverlet from 3.0.4 to 4.0.1 in /build (#2896) 2024-03-12 10:42:22 -05:00
skyemcleman
41d5d240ec feat: Add create organization invitation via email (#2895)
* Add API request to create org invitation

* Add tests for create org invitation

* Add IObservable API request to create org invitation

* Add tests for IObservable create org invitation
2024-03-11 13:02:31 -05:00
Michael Lehto
d27d1f0a22 Change "IssueId" to long (#2890)
* Change "IssueId" to `long`

* Change "Id" to `long` in ctor

* Change from `int` to `long` for issue id in "NewPullRequest"
v10.0.0
2024-02-22 16:38:23 -08:00
dependabot[bot]
40041f2e2e maint: build(deps): bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 (#2887)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.6 to 2.5.7.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.6...2.5.7)

---
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-02-21 15:25:52 -06:00
dependabot[bot]
6b58e9b294 build(deps): bump xunit from 2.6.6 to 2.7.0 (#2888)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.6 to 2.7.0.
- [Commits](https://github.com/xunit/xunit/compare/2.6.6...2.7.0)

---
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>
2024-02-20 11:00:03 -08:00
Nick Floyd
b87c3d139c maint: Update Dockerfile to omit mkdocs so that pre-builds will complete successfully (#2886)
Currently prebuilds are failing and we might need to move from python3-pip to python3-full which will add build time and a few other variables into our pipeline.  Looking to put in a simple workaround for now (so that codespaces spin up does not cause a huge time delay as well as to fix create code spaces functionally from GitHub.com
2024-02-15 12:56:39 -06:00
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