is there any function like Importing_variables?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
Thank you 🙇♀ for wanting to create an issue in this repository. Before you do, please ensure you are filing the issue in the right place. Issues should only be opened on if the issue relates to code in this repository.
- If you have found a security issue please submit it here
- If you have questions about writing workflows or action files, then please visit the GitHub Community Forum's Actions Board
- If you are having an issue or question about GitHub Actions then please contact customer support
If your issue is relevant to this repository, please include the information below:
Describe the enhancement
A clear and concise description of what the features or enhancement you need.
is there any function to get env variable for this action?
so that, when I am using env variables, I can avoid exporting-variables function overwrite or conflicts with user's customer value by an env validation process?
ref
https://github.com/actions/toolkit/tree/main/packages/core#exporting-variables
Code Snippet
If applicable, add a code snippet to show the api enhancement.
const default_values = "DEFAULT";
const customer_values = core.Importing_variables("value");
//logging...
if (customer_values != "") {
//logging...
core.exportVariable("value", default_values);
}
//logging...
//processing
Additional information
Add any other context about the feature here.
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 with packages/core's exporting-variables documentation and the referenced core.exportVariable API. Clarify the intended behavior for reading an environment variable and detecting conflicts with a user's value, then confirm the API shape and expected validation behavior before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100