Commit Graph

5000 Commits

Author SHA1 Message Date
Nick Floyd
00b89daa23 [maint] Removes the old implementation of sourcelink and uses the newer one present in the .net SDK (#2666)
* reoves the old implemetnation of sourcelink and uses the newer one  present in the .net SDK

* cleans up appveyor

* updates proj with sourcelink props

* adds deterministic build check as well.

* Update docs/debugging-source.md

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

---------

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-02-07 11:14:49 -06:00
Aleksei Beliakov
e3e27bbe04 [feat] Add pending WorkflowRunStatus
Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com>
2023-01-23 17:08:52 -06:00
Keegan Campbell
24398bf56d Happy New Year! (#2660) 2023-01-20 13:54:45 -06:00
notauserx
891015c39f update models with updated permission enum (#2633)
* update models with updated permission enum

* add suppress message attribute

* update integration tests

* refactor: new and legacy update teams endpint

* refactor: add new delete team endpoint

* use TeamPermission on NewTeam

* use updated delete on team context dispose

* add permission enum for team response object

* refactor: remove legacy suffix from method names

* introduce permissions object on Team

* refactor: rename enum to TeamRepositoryPermission

* fix formatting

* change Permission to string to match api specs

* add TeamRepository

* add CheckTeamPermission endpoint support

* fix convention tests

* update comments on TeamRepository props

* add two new endpoints in TeamsClient

* refactor: rename ApiUrl for TeamPermission

* fix test

* implement methods for new endpoints

* add the integration tests

* fix spelling

* update comments

* refactor: rename method name

* fix: add end tag for remarks

* refactor: remove unused method param

* fix docstring comment

* the unit tests are in finally

* add docs for teams api

* split CheckTeamPermissions into two methods

* Update ObservableTeamsClientTests.cs based on review

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

* add cref to legacy update and delete endpoints

* remove editorconfig file

* Update Octokit.Tests/Clients/TeamsClientTests.cs

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

* remove unused line

* rename variable based on review

* rename prop to match constructor param

* add comment to explain TeamPermission enum values on update

Co-authored-by: notauserx <notauserx@users.noreply.github.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
v5.0.0
2023-01-20 10:48:00 -08:00
Keegan Campbell
bf6678543f Remove instances of lower-case h (#2655) v4.0.4 2023-01-12 11:56:44 -06:00
dependabot[bot]
bf72b5e886 build(deps): bump Cake.Coverlet from 3.0.2 to 3.0.4 in /build (#2652)
Bumps [Cake.Coverlet](https://github.com/romanx/Cake.Coverlet) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/romanx/Cake.Coverlet/releases)
- [Commits](https://github.com/romanx/Cake.Coverlet/commits)

---
updated-dependencies:
- dependency-name: Cake.Coverlet
  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>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-01-11 13:36:15 -08:00
Octokit Bot
4a77e4d0f0 🚧 Workflows have changed (#2651)
Updates for workflows
2023-01-09 16:05:16 -06:00
dependabot[bot]
a8fc68c21a build(deps): Removes the dependency of .NET Core app 3.1 and bumps Cake.Coverlet from 2.5.4 to 3.0.2 in /build (#2616) 2023-01-05 11:55:45 -06:00
dependabot[bot]
04d2a8724f build(deps): bump Microsoft.NET.Test.Sdk from 17.4.0 to 17.4.1 (#2642)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.4.0 to 17.4.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.4.0...v17.4.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>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
2023-01-03 11:28:49 -08:00
Octokit Bot
f022f0b091 🚧 Workflows have changed (#2647)
Updates for workflows
2023-01-03 09:11:17 -06:00
Octokit Bot
b312ae6a05 Workflows have changed (#2640)
Updates for workflows
2022-12-16 11:44:07 -08:00
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