Expose workflow file name (or id) as environment variable?
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 1.4k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 24
Description
Currently, we have GITHUB_WORKFLOW which is either the workflow display name (name key) or its id (the key in yaml), however there are a few GitHub APIs that use the workflow id (or filename) e.g. get a workflow.
It would be great if these were exposed so that we can use these APIs more easily.
Contributor guide
No contributing guide indexed for this repository
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
The entry point is the existing GITHUB_WORKFLOW environment variable; first trace how the runner derives and exposes it, then compare the needed workflow filename or ID with the cited GitHub Actions API requirements. Done means the requested workflow identifier is available as an environment variable and supports those API calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, github-actions
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100