Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions docs/actions/reRunWorkflow.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/packages/listPackagesForUser.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: List packages for a user
example: octokit.rest.packages.listPackagesForUser({ package_type, username })
route: GET /user/{username}/packages
route: GET /users/{username}/packages
scope: packages
type: API method
---
Expand Down
2 changes: 1 addition & 1 deletion docs/repos/addCollaborator.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The permission to grant the collaborator. **Only valid on organization-owned rep
\* `push` - can pull and push, but not administer this repository.
\* `admin` - can pull, push and administer this repository.
\* `maintain` - Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
\* `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access.
\* `triage` - Recommended for contributors who need to proactively manage issues and pull requests without write access. \* custom repository role name - Can assign a custom repository role if the owning organization has defined any.

</td></tr>
<tr><td>permissions</td><td>no</td><td>
Expand Down
40 changes: 40 additions & 0 deletions docs/repos/disableLfsForRepo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Disable Git LFS for a repository
example: octokit.rest.repos.disableLfsForRepo({ owner, repo })
route: DELETE /repos/{owner}/{repo}/lfs
scope: repos
type: API method
---

# Disable Git LFS for a repository

**Note:** The Git LFS API endpoints are currently in beta and are subject to change.

```js
octokit.rest.repos.disableLfsForRepo({
owner,
repo,
});
```

## Parameters

<table>
<thead>
<tr>
<th>name</th>
<th>required</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr><td>owner</td><td>yes</td><td>

</td></tr>
<tr><td>repo</td><td>yes</td><td>

</td></tr>
</tbody>
</table>

See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository).
40 changes: 40 additions & 0 deletions docs/repos/enableLfsForRepo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Enable Git LFS for a repository
example: octokit.rest.repos.enableLfsForRepo({ owner, repo })
route: PUT /repos/{owner}/{repo}/lfs
scope: repos
type: API method
---

# Enable Git LFS for a repository

**Note:** The Git LFS API endpoints are currently in beta and are subject to change.

```js
octokit.rest.repos.enableLfsForRepo({
owner,
repo,
});
```

## Parameters

<table>
<thead>
<tr>
<th>name</th>
<th>required</th>
<th>description</th>
</tr>
</thead>
<tbody>
<tr><td>owner</td><td>yes</td><td>

</td></tr>
<tr><td>repo</td><td>yes</td><td>

</td></tr>
</tbody>
</table>

See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository).
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"author": "Gregor Martynus (https://twitter.com/gr2m)",
"license": "MIT",
"dependencies": {
"@octokit/types": "^6.29.0",
"@octokit/types": "^6.30.0",
"deprecation": "^2.3.1"
},
"devDependencies": {
Expand Down
Loading