Skip to content

Commit c82ef7e

Browse files
rachmarilucascosti
andauthored
fix version for actions rest api section (#16395)
Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
1 parent 58f040a commit c82ef7e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

content/rest/reference/actions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ 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+
{% if currentVersion == "free-pro-team@latest" or currentVersion ver_gt "enterprise-server@2.22" %}
2728
## Permissions
2829

2930
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)."
@@ -33,6 +34,7 @@ You can also set permissions for an enterprise. For more information, see the "[
3334
{% for operation in currentRestOperations %}
3435
{% if operation.subcategory == 'permissions' %}{% include rest_operation %}{% endif %}
3536
{% endfor %}
37+
{% endif %}
3638

3739
## Secrets
3840

0 commit comments

Comments
 (0)