Skip to content

Commit

Permalink
Merge pull request #55 from sachinmalanki/team-membership
Browse files Browse the repository at this point in the history
Team membership
  • Loading branch information
AtzeDeVries authored Mar 11, 2024
2 parents 302f0a8 + e0457c5 commit 2cc7119
Show file tree
Hide file tree
Showing 18 changed files with 1,139 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ spec:
| `TeamRepository` | `team` | `github_team_repository` | |
| `EmuTeamMapping` | `team` | `github_emu_group_mapping` | |
| `ActionsSecrets` | `actions` | `github_actions_secret` | |
| `Membership` | `user` | `github_membership` | Works only with - GitHub App user access tokens - GitHub App installation access tokens - Fine-grained personal access tokens using a token with at least `members:read` |
| `Organization` | `enterprise` | `github_enterprise_organization` | Works only with PAT based authentication using a token with at least `admin:enterprise` scope.<br/>The following *GraphQL* query can be used to obtain the required `enterprise_id`:<br/> `gh api graphql -f query='query ($slug: String!) { enterprise(slug: $slug) { id } }' -F slug='<slug>' --jq '.data.enterprise.id'` |

## Adding resources
Expand Down
14 changes: 14 additions & 0 deletions apis/user/v1alpha1/zz_generated.conversion_hubs.go

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

207 changes: 207 additions & 0 deletions apis/user/v1alpha1/zz_generated.deepcopy.go

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

68 changes: 68 additions & 0 deletions apis/user/v1alpha1/zz_generated.managed.go

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

17 changes: 17 additions & 0 deletions apis/user/v1alpha1/zz_generated.managedlist.go

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

36 changes: 36 additions & 0 deletions apis/user/v1alpha1/zz_groupversion_info.go

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

Loading

0 comments on commit 2cc7119

Please sign in to comment.