Hacker News new | ask | show | jobs
by izolate 2230 days ago
I’m not sure if you’re aware but the GitHub API provides dynamic access to the secrets so you can theoretically use it in your application/outside your workflow.
1 comments

do you happen to have a link to the api docs for that? Everywhere I'm looking it doesn't return the value.

https://developer.github.com/v3/actions/secrets/#get-a-repos...

and the blog states the same behavior I'm seeing in the docs:

  First, the API doesn’t return any values, only names.
https://github.blog/2020-02-06-manage-secrets-and-more-with-...
No, you're right, I was mistaken. Sorry about that.