Skip to content

Add only_protected_branches in data source github_repository#1162

Merged
kfcampbell merged 2 commits intointegrations:mainfrom
bpaquet:only_protected_branches
Jul 15, 2022
Merged

Add only_protected_branches in data source github_repository#1162
kfcampbell merged 2 commits intointegrations:mainfrom
bpaquet:only_protected_branches

Conversation

@bpaquet
Copy link
Copy Markdown
Contributor

@bpaquet bpaquet commented May 23, 2022

This will allow to retrieve only the protected branches instead of the first 30.

This will allow to retrieve only the protected branches instead of the first 30.
@bpaquet bpaquet force-pushed the only_protected_branches branch from 80252e8 to d8b80cb Compare May 25, 2022 21:30
Copy link
Copy Markdown
Contributor

@kfcampbell kfcampbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution!

@kfcampbell kfcampbell merged commit 1bd34d6 into integrations:main Jul 15, 2022
kfcampbell added a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 18, 2022
@kfcampbell kfcampbell mentioned this pull request Jul 18, 2022
kfcampbell added a commit that referenced this pull request Jul 18, 2022
kfcampbell added a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 26, 2022
…tions#1162)

This will allow to retrieve only the protected branches instead of the first 30.

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
kfcampbell added a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 26, 2022
kfcampbell added a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 28, 2022
gesellix pushed a commit to gesellix/terraform-provider-github that referenced this pull request Aug 19, 2022
…tions#1162)

This will allow to retrieve only the protected branches instead of the first 30.

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
kfcampbell added a commit that referenced this pull request Sep 6, 2022
* Refactor out branches attribute from resource_github_repository and data_source_github_repository

to data_source_github_repository_branches

* Add link to docs

* Update github/data_source_github_repository_branches.go

Co-authored-by: mareksapota-lyft <msapota@lyft.com>

* Add only_protected_branches in data source github_repository (#1162)

This will allow to retrieve only the protected branches instead of the first 30.

Co-authored-by: Keegan Campbell <me@kfcampbell.com>

* Remove mistakenly committed binary (#1223)

* Revert PR #1162 (#1224)

* marek's suggestion + use v47

Co-authored-by: mareksapota-lyft <msapota@lyft.com>
Co-authored-by: Bertrand Paquet <bertrand.paquet@gmail.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
bpaquet added a commit to bpaquet/terraform-provider-github that referenced this pull request Sep 20, 2022
…itory_branches

Remove leftover code and doc after integrations#1117
Reintroduce the feature from integrations#1162 with integration tests
bpaquet added a commit to bpaquet/terraform-provider-github that referenced this pull request Sep 20, 2022
…itory_branches

Remove leftover code and doc after integrations#1117
Reintroduce the feature from integrations#1162 with integration tests
bpaquet added a commit to bpaquet/terraform-provider-github that referenced this pull request Sep 20, 2022
…itory_branches

Remove leftover code and doc after integrations#1117
Reintroduce the feature from integrations#1162 with integration tests
kfcampbell added a commit that referenced this pull request Sep 23, 2022
…itory_branches (#1296)

* Allow to get only protected on non protected branch with github_repository_branches

Remove leftover code and doc after #1117
Reintroduce the feature from #1162 with integration tests

* Add ConflicsWith

* Implement pagination

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
kazaker pushed a commit to auto1-oss/terraform-provider-github that referenced this pull request Dec 28, 2022
kazaker pushed a commit to auto1-oss/terraform-provider-github that referenced this pull request Dec 28, 2022
* Refactor out branches attribute from resource_github_repository and data_source_github_repository

to data_source_github_repository_branches

* Add link to docs

* Update github/data_source_github_repository_branches.go

Co-authored-by: mareksapota-lyft <msapota@lyft.com>

* Add only_protected_branches in data source github_repository (integrations#1162)

This will allow to retrieve only the protected branches instead of the first 30.

Co-authored-by: Keegan Campbell <me@kfcampbell.com>

* Remove mistakenly committed binary (integrations#1223)

* Revert PR integrations#1162 (integrations#1224)

* marek's suggestion + use v47

Co-authored-by: mareksapota-lyft <msapota@lyft.com>
Co-authored-by: Bertrand Paquet <bertrand.paquet@gmail.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
kazaker pushed a commit to auto1-oss/terraform-provider-github that referenced this pull request Dec 28, 2022
…itory_branches (integrations#1296)

* Allow to get only protected on non protected branch with github_repository_branches

Remove leftover code and doc after integrations#1117
Reintroduce the feature from integrations#1162 with integration tests

* Add ConflicsWith

* Implement pagination

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
avidspartan1 pushed a commit to avidspartan1/terraform-provider-github that referenced this pull request Feb 5, 2024
avidspartan1 pushed a commit to avidspartan1/terraform-provider-github that referenced this pull request Feb 5, 2024
* Refactor out branches attribute from resource_github_repository and data_source_github_repository

to data_source_github_repository_branches

* Add link to docs

* Update github/data_source_github_repository_branches.go

Co-authored-by: mareksapota-lyft <msapota@lyft.com>

* Add only_protected_branches in data source github_repository (integrations#1162)

This will allow to retrieve only the protected branches instead of the first 30.

Co-authored-by: Keegan Campbell <me@kfcampbell.com>

* Remove mistakenly committed binary (integrations#1223)

* Revert PR integrations#1162 (integrations#1224)

* marek's suggestion + use v47

Co-authored-by: mareksapota-lyft <msapota@lyft.com>
Co-authored-by: Bertrand Paquet <bertrand.paquet@gmail.com>
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
avidspartan1 pushed a commit to avidspartan1/terraform-provider-github that referenced this pull request Feb 5, 2024
…itory_branches (integrations#1296)

* Allow to get only protected on non protected branch with github_repository_branches

Remove leftover code and doc after integrations#1117
Reintroduce the feature from integrations#1162 with integration tests

* Add ConflicsWith

* Implement pagination

Co-authored-by: Keegan Campbell <me@kfcampbell.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants