Add SDK CI and failure email notifications - #4
Draft
atulpatildbz wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add repository-native CI for the public Prompt Encryption SDK mirror and send a failure email to the current maintainers.
This PR is intended to serve as a reference for the corresponding change in the canonical internal repository. The tracked files should ultimately be produced or explicitly preserved by the Copybara workflow rather than maintained only in the GitHub destination.
What this covers
SDK CI
main, every pull request targetingmain, and manual dispatch.requires-python >=3.10declaration.testandserverextras.pip check.twine check, and uploads the distributions as a workflow artifact.Required CI, which can be selected in the main-branch ruleset without depending on individual matrix job names.Failure email
workflow_runworkflow so SMTP credentials are never exposed to code from an untrusted pull request.patilatul@google.comashpaw@google.comnilanjandaw@google.comActivation required after this change lands
CI_SMTP_HOST,CI_SMTP_USERNAME,CI_SMTP_PASSWORDCI_SMTP_PORT(defaults to465),CI_SMTP_FROM(defaults to the username), andCI_SMTP_SECURITY(sslby default orstarttls)SDK CIrun at least once so GitHub registers theRequired CIcheck.Required CIto the existingProtect Main Branchruleset with GitHub Actions as the expected source.main; CI then validates the exported commit after it lands.Known gaps and follow-up work
Validation
actionlintv1.7.12 passes for both workflows.git diff --checkpasses.