Skip to content

Commit

Permalink
Merge pull request github#31008 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Jan 9, 2024
2 parents 5520706 + 9a724e8 commit 892e7dd
Show file tree
Hide file tree
Showing 14 changed files with 633 additions and 1 deletion.
6 changes: 6 additions & 0 deletions data/graphql/ghae/graphql_upcoming_changes.public-ghae.yml
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,12 @@ upcoming_changes:
date: '2024-07-01T00:00:00+00:00'
criticality: breaking
owner: deborah-digges
- location: OrganizationInvitation.inviter
description: '`inviter` will be removed. `inviter` will be replaced by `inviterActor`.'
reason: '`inviter` will be removed.'
date: '2024-07-01T00:00:00+00:00'
criticality: breaking
owner: jdennes
- location: TeamDiscussion.authorAssociation
description:
'`authorAssociation` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/
Expand Down
73 changes: 73 additions & 0 deletions data/graphql/ghae/schema.docs-ghae.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -26171,6 +26171,14 @@ type OrganizationInvitation implements Node {
The user who created the invitation.
"""
inviter: User!
@deprecated(
reason: "`inviter` will be removed. `inviter` will be replaced by `inviterActor`. Removal on 2024-07-01 UTC."
)

"""
The user who created the invitation.
"""
inviterActor: User

"""
The organization the invite is for
Expand Down Expand Up @@ -32265,6 +32273,36 @@ type Ref implements Node {
"""
repository: Repository!

"""
A list of rules from active Repository and Organization rulesets that apply to this ref.
"""
rules(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String

"""
Returns the first _n_ elements from the list.
"""
first: Int

"""
Returns the last _n_ elements from the list.
"""
last: Int

"""
Ordering options for repository rules.
"""
orderBy: RepositoryRuleOrder = {field: UPDATED_AT, direction: DESC}
): RepositoryRuleConnection

"""
The object the ref points to. Returns null when object does not exist.
"""
Expand Down Expand Up @@ -38588,6 +38626,41 @@ input RepositoryRuleInput {
type: RepositoryRuleType!
}

"""
Ordering options for repository rules.
"""
input RepositoryRuleOrder {
"""
The ordering direction.
"""
direction: OrderDirection!

"""
The field to order repository rules by.
"""
field: RepositoryRuleOrderField!
}

"""
Properties by which repository rule connections can be ordered.
"""
enum RepositoryRuleOrderField {
"""
Order repository rules by created time
"""
CREATED_AT

"""
Order repository rules by type
"""
TYPE

"""
Order repository rules by updated time
"""
UPDATED_AT
}

"""
The rule types supported in rulesets
"""
Expand Down
6 changes: 6 additions & 0 deletions data/graphql/ghec/graphql_upcoming_changes.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,12 @@ upcoming_changes:
date: '2024-07-01T00:00:00+00:00'
criticality: breaking
owner: deborah-digges
- location: OrganizationInvitation.inviter
description: '`inviter` will be removed. `inviter` will be replaced by `inviterActor`.'
reason: '`inviter` will be removed.'
date: '2024-07-01T00:00:00+00:00'
criticality: breaking
owner: jdennes
- location: TeamDiscussion.authorAssociation
description:
'`authorAssociation` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/
Expand Down
73 changes: 73 additions & 0 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -29712,6 +29712,14 @@ type OrganizationInvitation implements Node {
The user who created the invitation.
"""
inviter: User!
@deprecated(
reason: "`inviter` will be removed. `inviter` will be replaced by `inviterActor`. Removal on 2024-07-01 UTC."
)

"""
The user who created the invitation.
"""
inviterActor: User

"""
The organization the invite is for
Expand Down Expand Up @@ -39180,6 +39188,36 @@ type Ref implements Node {
"""
repository: Repository!

"""
A list of rules from active Repository and Organization rulesets that apply to this ref.
"""
rules(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String

"""
Returns the first _n_ elements from the list.
"""
first: Int

"""
Returns the last _n_ elements from the list.
"""
last: Int

"""
Ordering options for repository rules.
"""
orderBy: RepositoryRuleOrder = {field: UPDATED_AT, direction: DESC}
): RepositoryRuleConnection

"""
The object the ref points to. Returns null when object does not exist.
"""
Expand Down Expand Up @@ -45938,6 +45976,41 @@ input RepositoryRuleInput {
type: RepositoryRuleType!
}

"""
Ordering options for repository rules.
"""
input RepositoryRuleOrder {
"""
The ordering direction.
"""
direction: OrderDirection!

"""
The field to order repository rules by.
"""
field: RepositoryRuleOrderField!
}

"""
Properties by which repository rule connections can be ordered.
"""
enum RepositoryRuleOrderField {
"""
Order repository rules by created time
"""
CREATED_AT

"""
Order repository rules by type
"""
TYPE

"""
Order repository rules by updated time
"""
UPDATED_AT
}

"""
The rule types supported in rulesets
"""
Expand Down
6 changes: 6 additions & 0 deletions data/graphql/graphql_upcoming_changes.public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,12 @@ upcoming_changes:
date: '2024-07-01T00:00:00+00:00'
criticality: breaking
owner: deborah-digges
- location: OrganizationInvitation.inviter
description: '`inviter` will be removed. `inviter` will be replaced by `inviterActor`.'
reason: '`inviter` will be removed.'
date: '2024-07-01T00:00:00+00:00'
criticality: breaking
owner: jdennes
- location: TeamDiscussion.authorAssociation
description:
'`authorAssociation` will be removed. Follow the guide at https://github.blog/changelog/2023-02-08-sunset-notice-team-discussions/
Expand Down
73 changes: 73 additions & 0 deletions data/graphql/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -29712,6 +29712,14 @@ type OrganizationInvitation implements Node {
The user who created the invitation.
"""
inviter: User!
@deprecated(
reason: "`inviter` will be removed. `inviter` will be replaced by `inviterActor`. Removal on 2024-07-01 UTC."
)

"""
The user who created the invitation.
"""
inviterActor: User

"""
The organization the invite is for
Expand Down Expand Up @@ -39180,6 +39188,36 @@ type Ref implements Node {
"""
repository: Repository!

"""
A list of rules from active Repository and Organization rulesets that apply to this ref.
"""
rules(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String

"""
Returns the elements in the list that come before the specified cursor.
"""
before: String

"""
Returns the first _n_ elements from the list.
"""
first: Int

"""
Returns the last _n_ elements from the list.
"""
last: Int

"""
Ordering options for repository rules.
"""
orderBy: RepositoryRuleOrder = {field: UPDATED_AT, direction: DESC}
): RepositoryRuleConnection

"""
The object the ref points to. Returns null when object does not exist.
"""
Expand Down Expand Up @@ -45938,6 +45976,41 @@ input RepositoryRuleInput {
type: RepositoryRuleType!
}

"""
Ordering options for repository rules.
"""
input RepositoryRuleOrder {
"""
The ordering direction.
"""
direction: OrderDirection!

"""
The field to order repository rules by.
"""
field: RepositoryRuleOrderField!
}

"""
Properties by which repository rule connections can be ordered.
"""
enum RepositoryRuleOrderField {
"""
Order repository rules by created time
"""
CREATED_AT

"""
Order repository rules by type
"""
TYPE

"""
Order repository rules by updated time
"""
UPDATED_AT
}

"""
The rule types supported in rulesets
"""
Expand Down
2 changes: 1 addition & 1 deletion src/audit-logs/lib/config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"apiOnlyEventsAdditionalDescription": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"sha": "52e66eb2d1c3cd4e4b495b437463fe73d99a43c4"
"sha": "4c3e6d507196163bc76afe061b28dbe60106319b"
}
23 changes: 23 additions & 0 deletions src/graphql/data/fpt/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"<p>Type <code>RepositoryRuleOrder</code> was added</p>",
"<p>Type <code>RepositoryRuleOrderField</code> was added</p>",
"<p>Field <code>inviterActor</code> was added to object type <code>OrganizationInvitation</code></p>",
"<p>Field <code>rules</code> was added to object type <code>Ref</code></p>"
]
}
],
"previewChanges": [],
"upcomingChanges": [
{
"title": "The following changes will be made to the schema:",
"changes": [
"<p>On member <code>OrganizationInvitation.inviter</code>:<code>inviter</code> will be removed. <code>inviter</code> will be replaced by <code>inviterActor</code>. <strong>Effective 2024-07-01</strong>.</p>"
]
}
],
"date": "2024-01-09"
},
{
"schemaChanges": [
{
Expand Down
Loading

0 comments on commit 892e7dd

Please sign in to comment.