4891 Commits

Author SHA1 Message Date
Chris Simpson
f317f9dadc Support for IsTemplate and Create Template from Repository (#2331) v0.52.0 2022-06-30 15:20:45 -05:00
Nick Floyd
659ce5f4f7 Adds mono-complete to the dev container (#2468)
adds mono to docker - this is a test/env dependency
2022-06-30 08:33:46 -05:00
Nick Floyd
7144e29275 Uses https instead of http so that the badges will load (#2461) 2022-06-17 14:47:49 -05:00
Nick Floyd
30c0ad59ae Update SECURITY.md 2022-06-16 15:03:38 -05:00
Nick Floyd
1f7362acfa Create SECURITY.md 2022-06-16 13:14:32 -05:00
Nick Floyd
bfdcb18f38 Dev container rework to support OmniSharp changes (#2456)
* given the c# extension no longer is packaged with mono this is an attempt to get code nav and intellsense back in order for vscode
2022-06-10 10:35:06 -05:00
Nick Floyd
a5afcc229f Create codeql-analysis.yml 2022-05-27 13:57:14 -05:00
Aditi Takle
316c343d67 Add Draft to MergeableState enum (#2381) 2022-05-26 16:49:12 -05:00
Tim Rogers
727029c5d2 Use the official Codespaces template configuration, rather than something homegrown (#2449)
* Test commit

Hello!

* Correct indentation in `.devcontainer`

* Change devcontainer name to `Octokit.net`
2022-05-19 09:48:53 +01:00
Tim Rogers
bbddb9d723 Explicitly configure identation settings for VSCode (#2450)
This adds explicit configuration to `.vscode/settings.json` so we
use two spaces for indentation, rather than relying on the user's
own settings or automatic detection.
2022-05-19 09:42:57 +01:00
Tim Rogers
218f89f136 Fix the Visual Studio Code tasks configuration file (#2448)
This fixes the Visual Studio Code tasks configuration file
(`.vscode/tasks.json`), which somehow got corrupted, meaning
that it was no longer valid and didn't work.
2022-05-19 09:41:39 +01:00
Tim Rogers
c9a7533f2c Configure the project for GitHub Codespaces (#2443)
* Add configuration for Codespaces

This adds a simple Codespaces configuration,
`.devcontainer/devcontainer.json`, to the project.

It uses v3.1 of the .NET Core SDK from Docker Hub, installs
Python 3 and `mkdocs` to support building the docs and includes
useful VS Code extensions for working on the project.

* Add VS Code tasks for running tests and building the docs

This improves the Visual Studio Code tasks definitions (`.vscode/
tasks.json`), adding pre-defined tasks for running unit and
convention tests and building the docs.

Codespaces magic means that, when you build the docs, the port
will automatically be opened so you can view the docs in real
time at `localhost:4000`.
2022-05-13 10:03:24 +01:00
Nick Floyd
74a2c7b97d Cleans up unnecessary ticks 2022-05-10 16:43:21 -05:00
Nick Floyd
486c83a23e adds stale bot functionallity via action and removes the stalebot config (#2442) 2022-05-10 16:36:37 -05:00
Nick Floyd
8e800f29c6 creates the config file for stalebot to help us clean up old/inactive issues (#2441) 2022-05-10 10:53:37 -05:00
Nick Floyd
c4e6fcdbcc Updates the repo docs with the current release workflow (#2438)
* updates the repo docs with the current release workflow
2022-04-27 14:49:19 -05:00
Union Palenshus
77213430f1 Adding support for the Device Flow Oauth authentication pattern (#2310)
Adding support for the Device Flow Oauth authentication pattern
2022-04-20 16:29:10 -05:00
dependabot[bot]
b4d7fb0978 Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.11.0 (#2350)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.11.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>
2021-08-23 09:28:25 -03:00
dependabot[bot]
e52e6d71b7 Bump GitHubJwt from 0.0.4 to 0.0.5 (#2348)
Bumps [GitHubJwt](https://github.com/adriangodong/githubjwt) from 0.0.4 to 0.0.5.
- [Release notes](https://github.com/adriangodong/githubjwt/releases)
- [Commits](https://github.com/adriangodong/githubjwt/compare/0.0.4...0.0.5)

---
updated-dependencies:
- dependency-name: GitHubJwt
  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>
2021-08-23 09:28:14 -03:00
Pedro Brito
b829a8443e Add Swift language (#2344)
Co-authored-by: Pedro Brito <Pedro.Brito@checkmarx.com>
2021-08-23 09:27:09 -03:00
Sean Killeen
2315ef762c Master --> main text in README (#2345) 2021-08-23 09:26:15 -03:00
dependabot[bot]
e9fbe84657 Bump Microsoft.NETFramework.ReferenceAssemblies from 1.0.0 to 1.0.2 (#2325)
Bumps [Microsoft.NETFramework.ReferenceAssemblies](https://github.com/Microsoft/dotnet) from 1.0.0 to 1.0.2.
- [Release notes](https://github.com/Microsoft/dotnet/releases)
- [Commits](https://github.com/Microsoft/dotnet/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 08:41:21 -03:00
Brendan Forster
9558604273 drop Appveyor and Codecov (#2321) 2021-04-20 08:09:54 -03:00
dependabot[bot]
15887d92cf Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.4 (#2318)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.4.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-05 09:37:46 -03:00
dependabot[bot]
356588288e Bump Cake.Codecov from 1.0.0 to 1.0.1 in /build (#2316)
Bumps [Cake.Codecov](https://github.com/cake-contrib/Cake.Codecov) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/cake-contrib/Cake.Codecov/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Codecov/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Codecov/compare/1.0.0...1.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 10:36:29 -03:00
dependabot[bot]
cd0dc8935e Bump Cake.Frosting from 1.0.0 to 1.1.0 in /build (#2313)
Bumps [Cake.Frosting](https://github.com/cake-build/cake) from 1.0.0 to 1.1.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/v1.0.0...v1.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 08:39:00 -04:00
Brendan Forster
4eebade5d6 cleanup some mentions of master branch in codebase (#2306) 2021-02-25 15:24:11 -04:00
Sean Killeen
57fe2ce193 Add repository topics support (#2246) 2021-02-25 10:40:25 -04:00
dependabot[bot]
2e5fb68518 Bump Cake.Coverlet from 2.5.1 to 2.5.4 in /build (#2305)
Bumps [Cake.Coverlet](https://github.com/romanx/Cake.Coverlet) from 2.5.1 to 2.5.4.
- [Release notes](https://github.com/romanx/Cake.Coverlet/releases)
- [Commits](https://github.com/romanx/Cake.Coverlet/compare/v2.5.1...v2.5.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 08:23:51 -04:00
Brendan Forster
618215cf7e restore 3.1.x for publish script v0.50.0 2021-02-21 18:57:48 -04:00
Phil Haack
375c20e49a Move the build to .net 5 (#2294)
* Move the build to .net 5

.NET 5 is fine for building projects that target older versions of .NET. This also should fix the AppVeyor build which fails because the latest `coverlet.console` only supports .NET 5.

* Some things need .NET core 3.1 available

Co-authored-by: Brendan Forster <github@brendanforster.com>
2021-02-21 18:48:53 -04:00
Ivan Josipovic
6105a9deaf preview support for repository visibility (#2217) 2021-02-21 18:38:00 -04:00
Phil Haack
e40c792e27 Change Payload to a Dictionary<string, string> (#2303)
When serializing the `NewDeployment` type, the `Payload` is serialized as an escaped string because JSON.NET doesn't know it's meant to be JSON.

This causes a problem when you call the API because the Payload is supposed to be a JSON dictionary that's just part of the overall payload. It's not supposed to be an escaped string.

That's why the JSON deserializer fails on it. Not only that, any deployments created using the current Octokit.net will create an invalid payload.

This PR fixes it by changing the type of `Payload` to a dictionary. THIS IS A BREAKING CHANGE, but the old behavior was broken so it forces a new correct behavior.

Fixes #2250
2021-02-21 17:11:51 -04:00
dependabot[bot]
8b0fb13685 Bump Codecov from 1.12.3 to 1.12.4 in /build (#2285)
* Bump Codecov from 1.12.3 to 1.12.4 in /build

Bumps [Codecov](https://github.com/codecov/codecov-exe) from 1.12.3 to 1.12.4.
- [Release notes](https://github.com/codecov/codecov-exe/releases)
- [Changelog](https://github.com/codecov/codecov-exe/blob/master/Changelog.md)
- [Commits](https://github.com/codecov/codecov-exe/compare/1.12.3...1.12.4)

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

* fix path to codecov executable

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brendan Forster <github@brendanforster.com>
2021-02-21 17:10:51 -04:00
Kato Stølen
4fbbe4ca2c Add cancellation token support for release assets uploading (#2267) 2021-02-21 17:08:30 -04:00
dependabot[bot]
9e2618f6d1 Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3 (#2276)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.0 to 16.8.3.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.0...v16.8.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 17:55:15 -04:00
dependabot[bot]
a28002a8df Bump Cake.Codecov from 0.9.1 to 1.0.0 in /build (#2301)
Bumps [Cake.Codecov](https://github.com/cake-contrib/Cake.Codecov) from 0.9.1 to 1.0.0.
- [Release notes](https://github.com/cake-contrib/Cake.Codecov/releases)
- [Changelog](https://github.com/cake-contrib/Cake.Codecov/blob/develop/GitReleaseManager.yaml)
- [Commits](https://github.com/cake-contrib/Cake.Codecov/compare/0.9.1...1.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 17:54:35 -04:00
Brendan Forster
66f0676dc3 enable windows target for building on Actions (#2302)
* enable windows target for building
* workaround IGNORE_NORMALISATION_GIT_HEAD_MOVE reported by GitVersion
2021-02-13 17:36:16 -04:00
Brendan Forster
9cbe8acd1f tidy up unused dependabot ignore rule (#2300) v0.49.0 2021-02-13 16:54:55 -04:00
Brendan Forster
8124bd4e80 tidy up workflow to address new restrictions (#2299) 2021-02-13 16:53:15 -04:00
Samantha Houts
7400420c92 Add "project" to the IssueNoMetadataQualifier (#2227)
Allows you to search for issues with no project.
2021-02-13 16:34:36 -04:00
Fredi Kats
67555533e3 feat: add missed props for organization (#2239) 2021-02-13 16:34:02 -04:00
Miguel Ventura
36829cba3a Fix property types in PullRequestCommit (#2224)
PullRequestCommit Author and Committer fields were mistakenly typed with
Committer when they should be of type User.

Previously the types of properties were:

* `PullRequestCommit.Author/Committer`: `Committer`
* `Commit.Author/Committer`: `Committer`

Correct types should be:

* `PullRequestCommit.Author/Committer`: `User`
* `Commit.Author/Committer`: `Committer`

These fields always fail to deserialize in the API calls but produce no
errors, only objects with default values.
2021-02-13 16:33:35 -04:00
Sam Cackett
46787d2cb8 Add DeleteBranchOnMerge option for repositories (#2268) 2021-02-13 16:29:09 -04:00
Eric Carlson
20549430e5 Add support for multi users and orgs in SearchCodeRequest (#2291) 2021-02-13 16:28:32 -04:00
Bipin Paul
4ca8ea03af Update README.md (#2279)
Update supported .NET Framework and .NET Standard  text
2021-02-13 15:57:09 -04:00
David Nelson
b5fb60bba8 Update 'up-for-grabs' link in CONSTRIBUTING.md (#2280)
The previous link redirected to https://github.com/octokit/octokit.net/issues?q=label%3Aup-for-grabs, which would also show closed issues; the new link only shows open issues.
2021-02-13 15:53:39 -04:00
Phil Haack
dec5e6d88a Update the README to link to NuGet (#2288) 2021-02-13 15:50:04 -04:00
Mattias Karlsson
70a380a4d0 (build) Updated Cake Frosting to version 1.0.0 (#2289) 2021-02-13 15:40:41 -04:00
Gregor Martynus
24a1628b84 Revert "build(dependabot): disable by removing configuration"
This reverts commit f504167f4a.

Sorry I missed to filter out this repository when I run my script :(
2020-12-16 12:12:59 -08:00