actions / actions/runner

Debt: Handle escaping arguments more easily

Open
#2,083 1 comment 0 reactions 1 assignee View on GitHub

@ruvceskistefan is already working on this.

Since Aug 24, 2022.

enhancement Runner Feature
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the bug
Currently, we do manual escaping in ProcessInvoker and its various overloads for arguments. We should move towards using the ArgumentList property which automatically handles escaping, as opposed to doing it by hand, which introduces opportunity of human error.

This is likely a large set of changes, we should put it behind a feature flag to ensure a safe rollout if we can.

See related prs in this area recently, and the source code for how we invoke process

Contributor guide

No contributing guide indexed for this repository

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.