Skip to content

Commit

Permalink
Merge pull request #31956 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Mar 5, 2024
2 parents 5930088 + 1ab862e commit d83f46a
Show file tree
Hide file tree
Showing 19 changed files with 32 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ jobs:

{% data reusables.actions.branch-requirement %}

Runs your workflow when an issue in the workflow's repository is created or modified. For activity related to comments in an issue, use the [`issue_comment`](#issue_comment) event. For more information about issues, see "[AUTOTITLE](/issues/tracking-your-work-with-issues/about-issues)." For information about the issue APIs, see "[AUTOTITLE](/graphql/reference/objects#issue)" in the GraphQL API documentation or "[AUTOTITLE](/rest/issues)" in the REST API documentation.
Runs your workflow when an issue in the workflow's repository is created or modified. For activity related to comments in an issue, use the [`issue_comment`](#issue_comment) event. For more information about issues, see "[AUTOTITLE](/issues/tracking-your-work-with-issues/about-issues)." For information about the issue APIs, see "[AUTOTITLE](/graphql/reference/objects#issue)" in the GraphQL API documentation or "[AUTOTITLE](/rest/issues)."

For example, you can run a workflow when an issue has been `opened`, `edited`, or `milestoned`.

Expand All @@ -369,7 +369,7 @@ on:

{% data reusables.actions.branch-requirement %}

Runs your workflow when a label in your workflow's repository is created or modified. For more information about labels, see "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the label APIs, see "[AUTOTITLE](/graphql/reference/objects#label)" in the GraphQL API documentation or "[AUTOTITLE](/rest/issues#labels)" in the REST API documentation.
Runs your workflow when a label in your workflow's repository is created or modified. For more information about labels, see "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/managing-labels)." For information about the label APIs, see "[AUTOTITLE](/graphql/reference/objects#label)" in the GraphQL API documentation or "[AUTOTITLE](/rest/issues#labels)."

If you want to run your workflow when a label is added to or removed from an issue, pull request, or discussion, use the `labeled` or `unlabeled` activity types for the [`issues`](#issues), [`pull_request`](#pull_request), [`pull_request_target`](#pull_request_target), or [`discussion`](#discussion) events instead.

Expand Down Expand Up @@ -421,7 +421,7 @@ on:

{% data reusables.actions.branch-requirement %}

Runs your workflow when a milestone in the workflow's repository is created or modified. For more information about milestones, see "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the milestone APIs, see "[AUTOTITLE](/graphql/reference/objects#milestone)" in the GraphQL API documentation or "[AUTOTITLE](/rest/issues#milestones)" in the REST API documentation.
Runs your workflow when a milestone in the workflow's repository is created or modified. For more information about milestones, see "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/about-milestones)." For information about the milestone APIs, see "[AUTOTITLE](/graphql/reference/objects#milestone)" in the GraphQL API documentation or "[AUTOTITLE](/rest/issues#milestones)."

If you want to run your workflow when an issue is added to or removed from a milestone, use the `milestoned` or `demilestoned` activity types for the [`issues`](#issues) event instead.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,4 @@ All requests for {% data variables.product.prodname_copilot_for_business %} are
## Further reading

- "[{% data variables.product.prodname_copilot %} FAQ](https://github.com/features/copilot#faq)"
- "[{% data variables.product.prodname_copilot %} Trust Center](https://resources.github.com/copilot-trust-center/)"
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ topics:
- Copilot
---


{% ifversion fpt %}

{% data reusables.copilot.enterprise-fpt-link %}
Expand Down Expand Up @@ -49,3 +48,4 @@ Access to {% data variables.product.prodname_copilot %} is managed at the organi
## Further reading

- "[{% data variables.product.prodname_copilot %} FAQ](https://github.com/features/copilot#faq)"
- "[{% data variables.product.prodname_copilot %} Trust Center](https://resources.github.com/copilot-trust-center/)"
2 changes: 1 addition & 1 deletion content/rest/copilot/copilot-user-management.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Copilot user management
title: REST API endpoints for Copilot user management
shortTitle: Copilot user management
intro: 'Use the REST API to manage the {% data variables.product.prodname_copilot_for_business %} or {% data variables.product.prodname_copilot_enterprise %} subscription for your organization.'
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
Expand Down
4 changes: 2 additions & 2 deletions content/rest/copilot/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Copilot
title: REST API endpoints for Copilot
shortTitle: Copilot
intro: >-
Use the REST API to manage the {% data
variables.product.prodname_copilot_for_business %} subscription for your
Expand All @@ -14,4 +15,3 @@ versions:
fpt: '*'
ghec: '*'
---

4 changes: 3 additions & 1 deletion content/rest/interactions/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Interactions
title: REST API endpoints for interactions
shortTitle: Interactions
allowTitleToDifferFromFilename: true
intro: Use the REST API to set the interaction limit for the users in your organizations and repositories.
permissions: People with owner or admin access can set the interaction limit for the users in their organizations and repositories.
redirect_from:
Expand Down
2 changes: 1 addition & 1 deletion content/rest/interactions/orgs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Organization interactions
title: REST API endpoints for organization interactions
shortTitle: Organization
intro: >-
Use the REST API to temporarily restrict which type of user can comment, open
Expand Down
2 changes: 1 addition & 1 deletion content/rest/interactions/repos.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Repository interactions
title: REST API endpoints for repository interactions
shortTitle: Repository
intro: >-
Use the REST API to temporarily restrict which type of user can comment, open
Expand Down
2 changes: 1 addition & 1 deletion content/rest/interactions/user.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: User interactions
title: REST API endpoints for user interactions
shortTitle: User
allowTitleToDifferFromFilename: true
intro: >-
Expand Down
2 changes: 1 addition & 1 deletion content/rest/issues/assignees.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Issue assignees
title: REST API endpoints for issue assignees
allowTitleToDifferFromFilename: true
shortTitle: Assignees
intro: Use the REST API to manage assignees on issues and pull requests.
Expand Down
2 changes: 1 addition & 1 deletion content/rest/issues/comments.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Issue comments
title: REST API endpoints for issue comments
allowTitleToDifferFromFilename: true
shortTitle: Comments
intro: Use the REST API to manage comments on issues and pull requests.
Expand Down
2 changes: 1 addition & 1 deletion content/rest/issues/events.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Issue events
title: REST API endpoints for issue events
allowTitleToDifferFromFilename: true
shortTitle: Events
intro: >-
Expand Down
4 changes: 3 additions & 1 deletion content/rest/issues/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Issues
title: REST API endpoints for issues
shortTitle: Issues
allowTitleToDifferFromFilename: true
intro: 'Use the REST API to view and manage issues, including issue assignees, comments, labels, and milestones.'
redirect_from:
- /v3/issues
Expand Down
4 changes: 3 additions & 1 deletion content/rest/issues/issues.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Issues
title: REST API endpoints for issues
shortTitle: Issues
allowTitleToDifferFromFilename: true
intro: Use the REST API to manage issues and pull requests.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
Expand Down
4 changes: 3 additions & 1 deletion content/rest/issues/labels.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Labels
title: REST API endpoints for labels
shortTitle: Labels
allowTitleToDifferFromFilename: true
intro: 'Use the REST API to manage labels for repositories, issues and pull requests.'
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
Expand Down
4 changes: 3 additions & 1 deletion content/rest/issues/milestones.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
title: Milestones
title: REST API endpoints for milestones
shortTitle: Milestones
allowTitleToDifferFromFilename: true
intro: Use the REST API to manage milestones.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
Expand Down
2 changes: 1 addition & 1 deletion content/rest/issues/timeline.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Timeline events
title: REST API endpoints for timeline events
allowTitleToDifferFromFilename: true
shortTitle: Timeline
intro: >-
Expand Down
2 changes: 1 addition & 1 deletion data/reusables/webhooks/issue_comment_short_desc.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Activity related to an issue or pull request comment. {% data reusables.webhooks.action_type_desc %} For more information, see the "[AUTOTITLE](/rest/issues#comments)" REST API.
Activity related to an issue or pull request comment. {% data reusables.webhooks.action_type_desc %} For more information, see the "[AUTOTITLE](/rest/issues#comments)."
2 changes: 1 addition & 1 deletion data/reusables/webhooks/issues_short_desc.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Activity related to an issue. {% data reusables.webhooks.action_type_desc %} For more information, see the "[AUTOTITLE](/rest/issues)" REST API.
Activity related to an issue. {% data reusables.webhooks.action_type_desc %} For more information, see the "[AUTOTITLE](/rest/issues)."

0 comments on commit d83f46a

Please sign in to comment.