Skip to content

feat: write-only values support to github_actions_environment_secret#3151

Open
kokolight wants to merge 2 commits intointegrations:mainfrom
kokolight:feat/write-only-github-environment-secret
Open

feat: write-only values support to github_actions_environment_secret#3151
kokolight wants to merge 2 commits intointegrations:mainfrom
kokolight:feat/write-only-github-environment-secret

Conversation

@kokolight
Copy link

Implements write-only values support for github_actions_environment_secret

Resolves part of #2592 (only write-only support, not ephemeral resources)


Changes:

  • Add plaintext_value_wo and plaintext_value_wo_version fields to github_actions_environment_secret
  • Added tests to github_actions_environment_secret resource
    Update documentation with usage examples

Usage:

resource "github_actions_environment_secret" "example" {
  repository                 = "my-repo"
  secret_name                = "my-secret"
  environment                = "dev"
  plaintext_value_wo         = "my-secret-value"
  plaintext_value_wo_version = 1
}

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 1, 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! 🚀

@github-actions github-actions bot added the Type: Feature New feature or request label Feb 1, 2026
@stevehipwell
Copy link
Collaborator

stevehipwell commented Feb 2, 2026

Thanks for the PR @kokolight, but this whole area is under active development in #3069; I actually had write only support coded before I removed it due to the additional complexity it introduced. Once #3069 has been merged we will need to carefully consider the design for write only before we implement it.

@stevehipwell stevehipwell added the Status: Blocked Some technical or requirement is blocking the issue label Feb 2, 2026
@kokolight
Copy link
Author

Ok @stevehipwell , hopefully this is going to be solved soon so we can get this great and needed feature 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Blocked Some technical or requirement is blocking the issue Type: Feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants