Skip to content

Conversation

@stevehipwell
Copy link
Collaborator

Resolves #1997


Before the change?

There was duplication between the github_repository_environment_deployment_policy & github_repository_deployment_branch_policy resources and no way to look up tag based deployment policies.

After the change?

I've added a new github_repository_environment_deployment_policies data source to support looking up tag based deployment policies as well as branch based ones. I've deprecated the github_repository_deployment_branch_policy resource and the data_source_github_repository_deployment_branch_policies to be removed in the next major release.

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

Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
Copy link
Member

@nickfloyd nickfloyd left a comment

Choose a reason for hiding this comment

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

❤️

@nickfloyd nickfloyd merged commit 5a27fb7 into integrations:main Nov 25, 2025
8 checks passed
@stevehipwell stevehipwell deleted the environment-deployment-policy branch November 26, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS]: What is the difference between github_repository_deployment_branch_policy & github_repository_environment_deployment_policy

2 participants