-
Notifications
You must be signed in to change notification settings - Fork 783
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support signed commits for resource 'github_repository_file' #2102
base: main
Are you sure you want to change the base?
Conversation
e6ede50
to
65dbdd2
Compare
Hey @wparr-circle Thanks for the contributions here. Please run lint when you get the chance! It looks like CI is getting hung up on that. Thanks. |
8dcb9e2
to
6e4c586
Compare
6e4c586
to
94ce4b0
Compare
Ran against linters now @nickfloyd! Thanks :) |
@wparr-circle do you mind explaining more about the below part of your writeup? I'm not sure I understand, sorry.
|
@kfcampbell Sure no problem! Sorry if I wasn't clear. Does that help explain? I left the old contents API way of working as the default behaviour, because of the size of change creeping up. |
Hi, is there a timeline on this feature? Thanks |
Hello, is something missing @kfcampbell to get this merged ? |
Landed at this PR after realizing the resource doesn't support signing. @kfcampbell do you have any direction or feedback on this PR to get it completed? Trying to get an idea on whether this feature is planned for this resource or if its not achievable? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey thanks for the contributions here! ❤️
@wparr-circle we just merged #2100 and we're ready to go with this before we cut a release with your new features in it. I didn't anticipate that there might be a merge conflict between your two PRs though, and I'm wondering if you'd feel comfortable resolving the conflict. If you'd prefer that Nick and I do it, please let me know and we'll get to it! Thanks for the contributions, and I'm looking forward to seeing commit signing in the wild. |
Hey @kfcampbell @nickfloyd thanks for getting around to looking at these 👀 |
Signed-off-by: wparr-circle <[email protected]>
@wparr-circle / @nickfloyd / @kfcampbell I think this PR will need to have conflicts resolved and review occur pretty tightly together in order to get it past the goal. Thoughts? |
@nickfloyd / @kfcampbell Thank you for all the work on this provider! At the risk of sounding too pushy, we would love to see this PR merged. Would it be possible to review again? |
@nickfloyd sorry I haven't had time to follow up on this until now. I've just resolved merge conflicts - please review when you have a chance 🙏 |
Maybe it would be better if this resource supported using environment variables to set resource "github_repository_file" "file" {
...
pgp_signing_key_env = "SECRET_PGP_SIGNING_KEY"
...
} |
Actually, terraform just released Write-only attributes and i think this is the perfect usecase. By marking the key as write-only it won't be persisted in the state. |
Resolves #879
Before the change?
After the change?
Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!