Skip to content

Commit 616b84d

Browse files
authored
repo sync
2 parents 58983b4 + b288480 commit 616b84d

File tree

4 files changed

+22
-8
lines changed

4 files changed

+22
-8
lines changed

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,7 @@ package-lock.json @github/docs-engineering
1414
package.json @github/docs-engineering
1515

1616
/content/github/site-policy/ @github/site-policy-admins
17+
18+
# Make sure that Octokit maintainers get notified about changes
19+
# relevant to the Octokit libraries (https://github.com/octokit)
20+
/content/rest/reference @github/octokit-maintainers

content/rest/reference/actions.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ The Artifacts API allows you to download, delete, and retrieve information about
2424
{% if operation.subcategory == 'artifacts' %}{% include rest_operation %}{% endif %}
2525
{% endfor %}
2626

27+
## Permissions
28+
29+
The Permissions API allows you to set permissions for what organizations and repositories are allowed to run {% data variables.product.prodname_actions %}, and what actions are allowed to run. For more information, see "[Usage limits, billing, and administration](/actions/reference/usage-limits-billing-and-administration#disabling-or-limiting-github-actions-for-your-repository-or-organization)."
30+
31+
You can also set permissions for an enterprise. For more information, see the "[{% data variables.product.prodname_dotcom %} Enterprise administration](/rest/reference/enterprise-admin#github-actions)" REST API.
32+
33+
{% for operation in currentRestOperations %}
34+
{% if operation.subcategory == 'permissions' %}{% include rest_operation %}{% endif %}
35+
{% endfor %}
36+
2737
## Secrets
2838

2939
The Secrets API lets you create, update, delete, and retrieve information about encrypted secrets. {% data reusables.actions.about-secrets %} For more information, see "[Creating and using encrypted secrets](/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)."
@@ -40,7 +50,7 @@ The Self-hosted Runners API allows you to register, view, and delete self-hosted
4050

4151
{% data reusables.actions.actions-authentication %} {% data variables.product.prodname_github_app %}s must have the `administration` permission for repositories or the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to the repository or organization to use this API.
4252

43-
You can manage self-hosted runners for an enterprise. For more information, see the "[{% data variables.product.prodname_dotcom %} Enterprise administration](/rest/reference/enterprise-admin#actions)" REST API.
53+
You can manage self-hosted runners for an enterprise. For more information, see the "[{% data variables.product.prodname_dotcom %} Enterprise administration](/rest/reference/enterprise-admin#github-actions)" REST API.
4454

4555
{% for operation in currentRestOperations %}
4656
{% if operation.subcategory == 'self-hosted-runners' %}{% include rest_operation %}{% endif %}
@@ -52,7 +62,7 @@ The Self-hosted Runners Groups API allows you manage groups of self-hosted runne
5262

5363
{% data reusables.actions.actions-authentication %} {% data variables.product.prodname_github_app %}s must have the `administration` permission for repositories or the `organization_self_hosted_runners` permission for organizations. Authenticated users must have admin access to the repository or organization to use this API.
5464

55-
You can manage self-hosted runner groups for an enterprise. For more information, see the "[{% data variables.product.prodname_dotcom %} Enterprise administration](/rest/reference/enterprise-admin#actions)" REST API.
65+
You can manage self-hosted runner groups for an enterprise. For more information, see the "[{% data variables.product.prodname_dotcom %} Enterprise administration](/rest/reference/enterprise-admin##github-actions)" REST API.
5666

5767
{% for operation in currentRestOperations %}
5868
{% if operation.subcategory == 'self-hosted-runner-groups' %}{% include rest_operation %}{% endif %}

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@github-docs/data-directory": "^1.2.0",
1717
"@github-docs/frontmatter": "^1.3.1",
1818
"@github-docs/render-content": "^5.0.0",
19-
"@github/rest-api-operations": "^2.1.0",
19+
"@github/rest-api-operations": "^3.1.0",
2020
"@octokit/rest": "^16.38.1",
2121
"@primer/css": "^15.1.0",
2222
"@primer/octicons": "^11.0.0",

0 commit comments

Comments
 (0)