Skip to content

Comments

[FEAT] Add github_repository_pages Resource and Data Source#3168

Open
deiga wants to merge 18 commits intointegrations:mainfrom
F-Secure-web:add-github_repository_pages-resource
Open

[FEAT] Add github_repository_pages Resource and Data Source#3168
deiga wants to merge 18 commits intointegrations:mainfrom
F-Secure-web:add-github_repository_pages-resource

Conversation

@deiga
Copy link
Collaborator

@deiga deiga commented Feb 8, 2026

Resolves #3167
Resolves #2671
Resolves #3142
Resolves #1045
Resolves #2653


Before the change?

  • A repository's Pages resource was only manageable through github_repository

After the change?

  • There is now a github_repository_pages resource to manage the pages
  • There is now a github_repository_pages data source to fetch information about the pages
  • The pages fields are now deprecated in github_repository Resource and Data Source
  • It's possible to configure the public field of github_repository_pages
  • It's possible to configure the https_enforced field of github_repository_pages

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@deiga deiga added this to the v6.12.0 Release milestone Feb 8, 2026
@deiga deiga requested a review from stevehipwell February 12, 2026 11:58
@deiga deiga force-pushed the add-github_repository_pages-resource branch 2 times, most recently from e081a2d to c75d366 Compare February 13, 2026 22:14
Copy link
Collaborator

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

This is looking really good.

@deiga deiga force-pushed the add-github_repository_pages-resource branch from c75d366 to 91f6484 Compare February 17, 2026 20:09
@deiga deiga requested a review from stevehipwell February 17, 2026 20:10
@healiha
Copy link

healiha commented Feb 19, 2026

Would it be possible to add visibility to github_repository_pages?
image

The documentation doesn't seem to cover this, but after testing, a PUT request to https://api.github.com/repos/<org>/<repo>/pages with {"public": true/false} works.

@deiga
Copy link
Collaborator Author

deiga commented Feb 19, 2026

@healiha I'll check that out

@deiga deiga changed the title [FEAT] Add github_repository_pages Reasource and Data Source [FEAT] Add github_repository_pages Resource and Data Source Feb 20, 2026
stevehipwell
stevehipwell previously approved these changes Feb 20, 2026
Copy link
Collaborator

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

LGTM

@stevehipwell
Copy link
Collaborator

@deiga could you please rebase this PR?

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
… config

Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
@deiga deiga force-pushed the add-github_repository_pages-resource branch from 18c8135 to 55b203a Compare February 21, 2026 06:23
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
@deiga deiga requested a review from stevehipwell February 21, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants