actions / actions/toolkit

@actions/core - provide way to get env context

Open
#671 1 comment 9 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.