Repository navigation
feat: add client-id input as preferred App credential - #171
Merged
Merged
Conversation
Alias client-id onto the existing app-id code path; the value is forwarded verbatim to createAppAuth, which accepts client IDs. app-id keeps working but warns as deprecated, and setting both fails with an explicit error. Pair-validation errors now name the input the caller used. Rebuild dist bundle. Refs: #168
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.
Closes #168
What
client-idinput toaction.ymlas the preferred GitHub App credential, aliased onto the same code path asapp-id(the value is forwarded verbatim tocreateAppAuth, which accepts client IDs).app-idworking unchanged for back-compat, with a deprecation note in its description and acore.warningat runtime.example-workflow.yml, and changelog updated;dist/rebuilt.Tests
New unit cases cover:
client-id+ key (token generated,createAppAuthreceives the client ID, no deprecation warning),app-id+ key (still works, warns deprecated), both set (explicit failure),client-idalone (pair-validation error namingclient-id). Existing cases untouched except the only-private-key error string, which now namesclient-id.Follow-up
Minor release 0.5.0 (rebuilt
dist/) after merge; tag + SHA to be recorded on #168 for the pinned downstream consumers (vig-os/devkit#1365, vig-os/tessera#364, …).