Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not call
setSecret
on any unmasked secrets (#17)
* Do not call `setSecret` on any unmasked secrets Right now, every value that's pulled from Doppler is marked as a secret in GitHub Actions, which means any workflow using this action ends up with a ton of unnecessary redactions. For example, if you have the following Doppler values: ``` NODE_ENV = test WORKER_COUNT = 3 ``` Then *every* output that includes `test` and the number 3 gets redacted, making the output rather difficult to read. Now I'm unable to tell the real difference between Listing and Downloading secrets, but from what I can tell from the [api docs](https://docs.doppler.com/reference/secrets-list) only List Secrets includes the visibility information, so I had to change how secrets are pulled. Fixes #16 * Add some debugging * Provide fallback to raw secret * Need to return the nested `secrets` object * Clear out the debugging lines * Remove `raw` fallback, that's not necessary
- Loading branch information