Skip to content

Commit f76cbb9

Browse files
authored
Merge pull request #41202 from github/repo-sync
Repo sync
2 parents 5269383 + 1396ad9 commit f76cbb9

File tree

19 files changed

+272
-15
lines changed

19 files changed

+272
-15
lines changed

content/code-security/code-quality/concepts/about-code-quality.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ With {% data variables.product.prodname_code_quality_short %}, you can:
2828

2929
## Availability and usage costs
3030

31-
{% data variables.product.prodname_code_quality %} is available for organization-owned repositories on {% data variables.product.prodname_team %} and {% data variables.product.prodname_ghe_cloud %} plans, as well as public repositories on {% data variables.product.prodname_dotcom_the_website %}.
31+
{% data variables.product.prodname_code_quality %} is available for organization-owned repositories on {% data variables.product.prodname_team %} and {% data variables.product.prodname_ghe_cloud %} plans.
3232

3333
{% data variables.product.prodname_code_quality %} won't be billed during public preview. However, {% data variables.product.prodname_code_quality_short %} scans will consume {% data variables.product.prodname_actions %} minutes. See [AUTOTITLE](/billing/concepts/product-billing/github-code-quality).
3434

content/rest/projects/drafts.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: REST API endpoints for draft Project items
3+
shortTitle: Draft Project items
4+
intro: Use the REST API to manage draft items in Projects.
5+
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
6+
fpt: '*'
7+
ghec: '*'
8+
topics:
9+
- API
10+
autogenerated: rest
11+
allowTitleToDifferFromFilename: true
12+
---
13+
14+
<!-- Content after this section is automatically generated -->

content/rest/projects/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ topics:
55
autogenerated: rest
66
allowTitleToDifferFromFilename: true
77
children:
8+
- /drafts
89
- /fields
910
- /items
1011
- /projects
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{% ifversion fpt or ghec %}
2-
{% data variables.product.prodname_code_quality %} is available for:
3-
* Public repositories on {% data variables.product.prodname_dotcom_the_website %}
4-
* Organization-owned repositories on {% data variables.product.prodname_team %} or {% data variables.product.prodname_ghe_cloud %}
2+
{% data variables.product.prodname_code_quality %} is available for organization-owned repositories on {% data variables.product.prodname_team %} or {% data variables.product.prodname_ghe_cloud %}
53
{% endif %}

src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2325,6 +2325,15 @@
23252325
"additional-permissions": false,
23262326
"access": "read"
23272327
},
2328+
{
2329+
"category": "projects",
2330+
"slug": "create-draft-item-for-organization-owned-project",
2331+
"subcategory": "drafts",
2332+
"verb": "post",
2333+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
2334+
"additional-permissions": false,
2335+
"access": "write"
2336+
},
23282337
{
23292338
"category": "projects",
23302339
"slug": "list-project-fields-for-organization",

src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3790,6 +3790,12 @@
37903790
"verb": "get",
37913791
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
37923792
},
3793+
{
3794+
"slug": "create-draft-item-for-organization-owned-project",
3795+
"subcategory": "drafts",
3796+
"verb": "post",
3797+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
3798+
},
37933799
{
37943800
"slug": "list-project-fields-for-organization",
37953801
"subcategory": "fields",

src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2917,6 +2917,17 @@
29172917
"server-to-server": true,
29182918
"additional-permissions": false
29192919
},
2920+
{
2921+
"category": "projects",
2922+
"slug": "create-draft-item-for-organization-owned-project",
2923+
"subcategory": "drafts",
2924+
"verb": "post",
2925+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
2926+
"access": "write",
2927+
"user-to-server": true,
2928+
"server-to-server": true,
2929+
"additional-permissions": false
2930+
},
29202931
{
29212932
"category": "projects",
29222933
"slug": "list-project-fields-for-organization",

src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3886,6 +3886,12 @@
38863886
"verb": "get",
38873887
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
38883888
},
3889+
{
3890+
"slug": "create-draft-item-for-organization-owned-project",
3891+
"subcategory": "drafts",
3892+
"verb": "post",
3893+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
3894+
},
38893895
{
38903896
"slug": "list-project-fields-for-organization",
38913897
"subcategory": "fields",

src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4366,6 +4366,12 @@
43664366
"verb": "get",
43674367
"requestPath": "/orgs/{org}/projectsV2/{project_number}"
43684368
},
4369+
{
4370+
"slug": "create-draft-item-for-organization-owned-project",
4371+
"subcategory": "drafts",
4372+
"verb": "post",
4373+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts"
4374+
},
43694375
{
43704376
"slug": "list-project-fields-for-organization",
43714377
"subcategory": "fields",

src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,6 +2946,15 @@
29462946
"additional-permissions": false,
29472947
"access": "read"
29482948
},
2949+
{
2950+
"category": "projects",
2951+
"slug": "create-draft-item-for-organization-owned-project",
2952+
"subcategory": "drafts",
2953+
"verb": "post",
2954+
"requestPath": "/orgs/{org}/projectsV2/{project_number}/drafts",
2955+
"additional-permissions": false,
2956+
"access": "write"
2957+
},
29492958
{
29502959
"category": "projects",
29512960
"slug": "list-project-fields-for-organization",

0 commit comments

Comments
 (0)