actions / actions/toolkit

Glob from a specific base path

Open
#750 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement glob
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

In the Azure pipelines task lib it's possible to provide a base path for glob patterns using a relative path. The actions/glob doesn't feature this.

It looks like I could use process.chdir to influence the working folder prior to globbing, but it rather not.

Is me only alternatieve to do path magic myself to pretend my base path for relative globs?

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 at the actions/glob entry point and compare its relative glob handling with the Azure Pipelines task's base-path behavior; avoid relying on process.chdir. Done means callers can provide a base path for relative glob patterns, with coverage for that behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.