integrations / integrations/terraform-provider-github

[FEAT]: Allow configuration of Dependabot Private Dependencies

Open
#2,706 0 comments 8 reactions 0 assignees View on GitHub
Status: Triage Type: Feature
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Describe the need

We would like to be able to configure Dependabot access for private organization repositories.

The Rest API documentation has endpoints for the following requests related to this configuration:
- [GET /organizations/{org}/dependabot/repository-access](https://docs.github.com/en/rest/dependabot/repository-access?apiVersion=2022-11-28#lists-the-repositories-dependabot-can-access-in-an-organization)
- [PATCH /organizations/{org}/dependabot/repository-access
](https://docs.github.com/en/rest/dependabot/repository-access?apiVersion=2022-11-28#updates-dependabots-repository-access-list-for-an-organization)
- [PUT /organizations/{org}/dependabot/repository-access/default-level](https://docs.github.com/en/rest/dependabot/repository-access?apiVersion=2022-11-28#set-the-default-repository-access-level-for-dependabot)

I found a previous request for this (#1752) that did not have this API information.

### SDK Version

_No response_

### API Version

_No response_

### Relevant log output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.