toolkit
toolkit copied to clipboard
Add GITHUB_REF_TYPE and GITHUB_REF_NAME support to github context
Hope it is all changes required to pass ref_type info from env to github context. It's first time I touch actions toolkit and I'm not sure if I hadn't miss something.
Why don't you add GITHUB_REF_PROTECTED? :)
cf. https://docs.github.com/en/actions/learn-github-actions/environment-variables
Done. :) If there's a better way to cast the env value to boolean, please let me know. I'm newbie in TypeScript.
@peaceiris can we merge this ?
LGTM
How to get the approval from actions/actions-runtime? Seems it is the only thing left before merge.
FYI @GhadimiR @Link- would you be able to review/approve this PR? The change seems relatively straightforward