Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo sync #34036

Merged
merged 3 commits into from
Jul 20, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,11 @@ After using either the BFG tool or `git filter-repo` to remove the sensitive dat

1. Tell your collaborators to [rebase](https://git-scm.com/book/en/Git-Branching-Rebasing), _not_ merge, any branches they created off of your old (tainted) repository history. One merge commit could reintroduce some or all of the tainted history that you just went to the trouble of purging.

1. After some time has passed and you're confident that the BFG tool / `git filter-repo` had no unintended side effects, you can force all objects in your local repository to be dereferenced and garbage collected with the following commands (using Git 1.8.5 or newer):
1. If you used `git filter-repo`, you can skip this step.

If you used the BFG tool, after rewriting, you can clean up references in your local repository to the old history to be dereferenced and garbage collected with the following commands (using Git 1.8.5 or newer):

```shell
$ git for-each-ref --format="delete %(refname)" refs/original | git update-ref --stdin
$ git reflog expire --expire=now --all
$ git gc --prune=now
> Counting objects: 2437, done.
Expand Down
1 change: 0 additions & 1 deletion content/rest/orgs/organization-roles.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ intro: Use the REST API to interact with organization roles.
versions: # DO NOT MANUALLY EDIT. CHANGES WILL BE OVERWRITTEN BY A 🤖
fpt: '*'
ghec: '*'
ghes: '>=3.13'
topics:
- API
autogenerated: rest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,15 +534,6 @@
"title": "Custom organization roles",
"displayTitle": "Organization permissions for \"Custom organization roles\"",
"permissions": [
{
"category": "orgs",
"slug": "list-organization-fine-grained-permissions-for-an-organization",
"subcategory": "organization-roles",
"verb": "get",
"requestPath": "/orgs/{org}/organization-fine-grained-permissions",
"additional-permissions": false,
"access": "read"
},
{
"category": "orgs",
"slug": "get-all-organization-roles-for-an-organization",
Expand All @@ -552,15 +543,6 @@
"additional-permissions": false,
"access": "read"
},
{
"category": "orgs",
"slug": "create-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "post",
"requestPath": "/orgs/{org}/organization-roles",
"additional-permissions": false,
"access": "write"
},
{
"category": "orgs",
"slug": "get-an-organization-role",
Expand All @@ -569,24 +551,6 @@
"requestPath": "/orgs/{org}/organization-roles/{role_id}",
"additional-permissions": false,
"access": "read"
},
{
"category": "orgs",
"slug": "update-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "patch",
"requestPath": "/orgs/{org}/organization-roles/{role_id}",
"additional-permissions": false,
"access": "write"
},
{
"category": "orgs",
"slug": "delete-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "delete",
"requestPath": "/orgs/{org}/organization-roles/{role_id}",
"additional-permissions": false,
"access": "write"
}
]
},
Expand Down
24 changes: 0 additions & 24 deletions src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json
Original file line number Diff line number Diff line change
Expand Up @@ -3136,24 +3136,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/memberships/{username}"
},
{
"slug": "list-organization-fine-grained-permissions-for-an-organization",
"subcategory": "organization-roles",
"verb": "get",
"requestPath": "/orgs/{org}/organization-fine-grained-permissions"
},
{
"slug": "get-all-organization-roles-for-an-organization",
"subcategory": "organization-roles",
"verb": "get",
"requestPath": "/orgs/{org}/organization-roles"
},
{
"slug": "create-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "post",
"requestPath": "/orgs/{org}/organization-roles"
},
{
"slug": "remove-all-organization-roles-for-a-team",
"subcategory": "organization-roles",
Expand Down Expand Up @@ -3196,18 +3184,6 @@
"verb": "get",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "update-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "patch",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "delete-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "delete",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "list-teams-that-are-assigned-to-an-organization-role",
"subcategory": "organization-roles",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,17 +670,6 @@
"title": "Custom organization roles",
"displayTitle": "Organization permissions for \"Custom organization roles\"",
"permissions": [
{
"category": "orgs",
"slug": "list-organization-fine-grained-permissions-for-an-organization",
"subcategory": "organization-roles",
"verb": "get",
"requestPath": "/orgs/{org}/organization-fine-grained-permissions",
"access": "read",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "orgs",
"slug": "get-all-organization-roles-for-an-organization",
Expand All @@ -692,17 +681,6 @@
"server-to-server": true,
"additional-permissions": false
},
{
"category": "orgs",
"slug": "create-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "post",
"requestPath": "/orgs/{org}/organization-roles",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "orgs",
"slug": "get-an-organization-role",
Expand All @@ -713,28 +691,6 @@
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "orgs",
"slug": "update-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "patch",
"requestPath": "/orgs/{org}/organization-roles/{role_id}",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
},
{
"category": "orgs",
"slug": "delete-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "delete",
"requestPath": "/orgs/{org}/organization-roles/{role_id}",
"access": "write",
"user-to-server": true,
"server-to-server": true,
"additional-permissions": false
}
]
},
Expand Down
24 changes: 0 additions & 24 deletions src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2656,24 +2656,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/memberships/{username}"
},
{
"slug": "list-organization-fine-grained-permissions-for-an-organization",
"subcategory": "organization-roles",
"verb": "get",
"requestPath": "/orgs/{org}/organization-fine-grained-permissions"
},
{
"slug": "get-all-organization-roles-for-an-organization",
"subcategory": "organization-roles",
"verb": "get",
"requestPath": "/orgs/{org}/organization-roles"
},
{
"slug": "create-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "post",
"requestPath": "/orgs/{org}/organization-roles"
},
{
"slug": "remove-all-organization-roles-for-a-team",
"subcategory": "organization-roles",
Expand Down Expand Up @@ -2716,18 +2704,6 @@
"verb": "get",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "update-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "patch",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "delete-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "delete",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "list-teams-that-are-assigned-to-an-organization-role",
"subcategory": "organization-roles",
Expand Down
24 changes: 0 additions & 24 deletions src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3136,24 +3136,12 @@
"verb": "delete",
"requestPath": "/orgs/{org}/memberships/{username}"
},
{
"slug": "list-organization-fine-grained-permissions-for-an-organization",
"subcategory": "organization-roles",
"verb": "get",
"requestPath": "/orgs/{org}/organization-fine-grained-permissions"
},
{
"slug": "get-all-organization-roles-for-an-organization",
"subcategory": "organization-roles",
"verb": "get",
"requestPath": "/orgs/{org}/organization-roles"
},
{
"slug": "create-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "post",
"requestPath": "/orgs/{org}/organization-roles"
},
{
"slug": "remove-all-organization-roles-for-a-team",
"subcategory": "organization-roles",
Expand Down Expand Up @@ -3196,18 +3184,6 @@
"verb": "get",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "update-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "patch",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "delete-a-custom-organization-role",
"subcategory": "organization-roles",
"verb": "delete",
"requestPath": "/orgs/{org}/organization-roles/{role_id}"
},
{
"slug": "list-teams-that-are-assigned-to-an-organization-role",
"subcategory": "organization-roles",
Expand Down
Loading
Loading