setup-jfrog-cli
setup-jfrog-cli copied to clipboard
feat: add `token` to output if available
- [x] All tests passed. ~If this feature is not already covered by the tests, I added new tests.~
- [x] I used
npm run formatfor formatting the code before submitting the pull request.
Description
allows other actions in a workflow to get at the token used to auth the CLI which is especially useful for OIDC auth
Solved problem
there isn't a way to get the token to use in other applications from the jf commands themselves, and the config is encrypted
Questions
- what description would be appropriate for the output? i wasn't sure how to word all the cases where a token would/would not be returned.
- what test can be added for this?
CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request