@actions/core - provide way to get env context
Open
Nobody has claimed this yet.
core
enhancement
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Currently the only way to get env vars from the workflow's env context is to use process.env. The issue with this is that process.env also contains tons of system env vars from the host. Please provide a way to for us to access the workflow env context without all the extra host system variables mixed in.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing @actions/core's current environment handling and how process.env is exposed to action code. Define and implement an access path that returns the workflow env context without host system variables, then verify the resulting API separates those values as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100