Skip to content

Commit d57526e

Browse files
committed
Update api endpoint version
1 parent 6a96579 commit d57526e

18 files changed

Lines changed: 40 additions & 40 deletions

app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ default_permissions:
115115
organization_administration: write
116116

117117
# Manage Actions variables.
118-
# https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28
118+
# https://docs.github.com/en/rest/actions/variables?apiVersion=2026-03-10
119119
actions_variables: write
120120

121121

docs/github-settings/1. repository-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ repository:
5050
5151
>[!TIP]
5252
>GitHub's API documentation defines these inputs and types:
53-
>1. [Update an environment](https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#update-a-repository)
54-
>2. [Replace all repository topics](https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#replace-all-repository-topics)
53+
>1. [Update an environment](https://docs.github.com/en/rest/repos/repos?apiVersion=2026-03-10#update-a-repository)
54+
>2. [Replace all repository topics](https://docs.github.com/en/rest/repos/repos?apiVersion=2026-03-10#replace-all-repository-topics)
5555
5656
<table>
5757
<tr><td>

docs/github-settings/2. repository-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ variables:
1818
1919
>[!TIP]
2020
>GitHub's API documentation defines these inputs and types:
21-
>1. [Update a repository variable](https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28#update-a-repository-variable)
21+
>1. [Update a repository variable](https://docs.github.com/en/rest/actions/variables?apiVersion=2026-03-10#update-a-repository-variable)
2222
2323
<table>
2424
<tr><td>

docs/github-settings/3. collaborators.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ collaborators:
2020
2121
>[!TIP]
2222
>GitHub's API documentation defines these inputs and types:
23-
>1. [Add a repository collaborator](https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28#add-a-repository-collaborator)
24-
>2. [Remove a repository collaborator](https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28#remove-a-repository-collaborator)
23+
>1. [Add a repository collaborator](https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2026-03-10#add-a-repository-collaborator)
24+
>2. [Remove a repository collaborator](https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2026-03-10#remove-a-repository-collaborator)
2525
2626
<table>
2727
<tr><td>

docs/github-settings/4. teams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ teams:
2020
2121
>[!TIP]
2222
>GitHub's API documentation defines these inputs and types:
23-
>1. [Add or update team repository permissions](https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#add-or-update-team-repository-permissions)
23+
>1. [Add or update team repository permissions](https://docs.github.com/en/rest/teams/teams?apiVersion=2026-03-10#add-or-update-team-repository-permissions)
2424
2525
<table>
2626
<tr><td>

docs/github-settings/5. branch-protection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ branches:
5555
5656
>[!TIP]
5757
>GitHub's API documentation defines these inputs and types:
58-
>1. [Update a repository variable](https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28#update-a-repository-variable)
58+
>1. [Update a repository variable](https://docs.github.com/en/rest/actions/variables?apiVersion=2026-03-10#update-a-repository-variable)
5959
6060
<table>
6161
<tr><td>

docs/github-settings/6. deployment-environments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ environments:
4646
4747
>[!TIP]
4848
>GitHub's API documentation defines these inputs and types:
49-
>1. [Create or update an environment](https://docs.github.com/en/rest/deployments/environments?apiVersion=2022-11-28#create-or-update-an-environment)
50-
>2. [Create a deployment branch policy](https://docs.github.com/en/rest/deployments/branch-policies?apiVersion=2022-11-28#create-a-deployment-branch-policy)
51-
>3. [Create an environment variable](https://docs.github.com/en/rest/actions/variables?apiVersion=2022-11-28#create-an-environment-variable)
49+
>1. [Create or update an environment](https://docs.github.com/en/rest/deployments/environments?apiVersion=2026-03-10#create-or-update-an-environment)
50+
>2. [Create a deployment branch policy](https://docs.github.com/en/rest/deployments/branch-policies?apiVersion=2026-03-10#create-a-deployment-branch-policy)
51+
>3. [Create an environment variable](https://docs.github.com/en/rest/actions/variables?apiVersion=2026-03-10#create-an-environment-variable)
5252
5353
<table>
5454
<tr><td>

docs/github-settings/7. autolinks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ variables:
2020
2121
>[!TIP]
2222
>GitHub's API documentation defines these inputs and types:
23-
>1. [Create an autolink reference for a repository](https://docs.github.com/en/rest/repos/autolinks?apiVersion=2022-11-28#create-an-autolink-reference-for-a-repository)
23+
>1. [Create an autolink reference for a repository](https://docs.github.com/en/rest/repos/autolinks?apiVersion=2026-03-10#create-an-autolink-reference-for-a-repository)
2424
2525
<table>
2626
<tr><td>

docs/github-settings/8. labels.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ labels:
1919
2020
>[!TIP]
2121
>GitHub's API documentation defines these inputs and types:
22-
>1. [Create a label](https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#create-a-label)
23-
>2. [Update a label](https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#update-a-label)
24-
>3. [Delete a label](https://docs.github.com/en/rest/issues/labels?apiVersion=2022-11-28#delete-a-label)
22+
>1. [Create a label](https://docs.github.com/en/rest/issues/labels?apiVersion=2026-03-10#create-a-label)
23+
>2. [Update a label](https://docs.github.com/en/rest/issues/labels?apiVersion=2026-03-10#update-a-label)
24+
>3. [Delete a label](https://docs.github.com/en/rest/issues/labels?apiVersion=2026-03-10#delete-a-label)
2525
2626
<table>
2727
<tr><td>

docs/sample-settings/settings.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This settings file can be used to create org-level settings
22

33
# This is the settings that need to be applied to all repositories in the org
4-
# See https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#create-an-organization-repository for all available settings for a repository
4+
# See https://docs.github.com/en/rest/repos/repos?apiVersion=2026-03-10#create-an-organization-repository for all available settings for a repository
55
repository:
66
# A short description of the repository that will show up on GitHub
77
description: description of the repo
@@ -123,7 +123,7 @@ milestones:
123123
state: open
124124

125125
# Collaborators: give specific users access to any repository.
126-
# See https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28#add-a-repository-collaborator for available options
126+
# See https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2026-03-10#add-a-repository-collaborator for available options
127127
collaborators:
128128
- username: regpaco
129129
# The permission to grant the collaborator. Can be one of:
@@ -144,7 +144,7 @@ collaborators:
144144
- another-repo
145145

146146
# Teams
147-
# See https://docs.github.com/en/rest/teams/teams?apiVersion=2022-11-28#create-a-team for available options
147+
# See https://docs.github.com/en/rest/teams/teams?apiVersion=2026-03-10#create-a-team for available options
148148
teams:
149149
- name: core
150150
# The permission to grant the team. Can be one of:
@@ -163,7 +163,7 @@ teams:
163163
visibility: closed
164164

165165
# Branch protection rules
166-
# See https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28#update-branch-protection for available options
166+
# See https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2026-03-10#update-branch-protection for available options
167167
branches:
168168
# If the name of the branch value is specified as `default`, then the app will create a branch protection rule to apply against the default branch in the repo
169169
- name: default
@@ -202,7 +202,7 @@ branches:
202202
teams: []
203203

204204
# Custom properties
205-
# See https://docs.github.com/en/rest/repos/custom-properties?apiVersion=2022-11-28
205+
# See https://docs.github.com/en/rest/repos/custom-properties?apiVersion=2026-03-10
206206
custom_properties:
207207
- name: test
208208
value: test
@@ -221,7 +221,7 @@ validator:
221221
pattern: "[a-zA-Z0-9_-]+"
222222

223223
# Rulesets
224-
# See https://docs.github.com/en/rest/orgs/rules?apiVersion=2022-11-28#create-an-organization-repository-rulesetfor available options
224+
# See https://docs.github.com/en/rest/orgs/rules?apiVersion=2026-03-10#create-an-organization-repository-rulesetfor available options
225225
rulesets:
226226
- name: Template
227227
# The target of the ruleset. Can be one of:

0 commit comments

Comments
 (0)