Variable interpolation for label

Open
#270 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
ci-cd, tooling

Research direction

No source file or test is named. Start by tracing how config.yml values are read and how environment expressions are handled in the action; verify the desired behavior by checking that deployments/${{ env.modified_dir }} resolves to deployments/test-deployment-1 when creating the label.

Written by the indexing model from the issue text.

Description

feature request needs eyes

I can retrieve a changed directory as a env.var from a matrix action, however this Labeler won't interpolate that variable into the config.yml when creating the label. It inserts a static interpretation of the var e.g. deployments/${{ env.modified_dir }} instead of deployments/test-deployment-1

Is this easily fixable?

Dominant language
TypeScript
Stars
2.5k
Forks
488
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from actions/labeler

All issues in actions/labeler

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.