Skip to content

[BUG]: The github_branch_protection_v3 resource churns when using checks or contexts in required_status_checks #2493

Closed

Description

@stevehipwell

Expected Behavior

I'd expect to be able to set checks (or the deprecated contexts) on a github_branch_protection_v3 resource via the required_status_checks without it churning.

Actual Behavior

The github_branch_protection_v3 resource churns.

Terraform Version

n/a

Affected Resource(s)

  • github_branch_protection_v3

Terraform Configuration Files

No response

Steps to Reproduce

No response

Debug Output

No response

Panic Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    Status: TriageThis is being looked at and prioritized
    Type: BugSomething isn't working as documented
    on Dec 4, 2024
  2. stevehipwell commented on Dec 4, 2024

    @stevehipwell
    CollaboratorAuthor

    The code to fix this is currently in #2476 but I'm planning on opening a seperate PR for this change before that gets merged.

  3. moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Activeon Dec 23, 2024
  4. stevehipwell commented on Jun 27, 2025

    @stevehipwell
    CollaboratorAuthor

    🥃

  5. joaorpsoares commented on Jul 7, 2025

    @joaorpsoares

    Bump 🚀

  6. alambike commented on Sep 29, 2025

    @alambike

    Is there any possibility of having this correction in the near future, or do we only have the option of moving all our protections to rulesets, to avoid continuous drift?

  7. moved this from 🔥 Backlog to ✅ Done in 🧰 Octokit Activeon Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions