actions / actions/setup-dotnet

Use non-root install by default

Open
#486 3 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request investigation
Dominant language
TypeScript
Stars
1.2k
Forks
572
Avg merge
12d 20h
Merged PRs (30d)
1

Description

Description:
Non-root install in tool cache using Microsoft provided binary archives.

Justification:
self-shosted runners should be run as non-privileged user for security.
The action is unable to install dotnet without hacks, that are hard to maintain.

Are you willing to submit a PR?
I can try.

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.

Research direction

Start by tracing the setup-dotnet action's current installation path and how it handles tool-cache permissions; the issue does not name specific files or tests. Compare that path with Microsoft-provided binary archives and determine the required non-root behavior, then add coverage showing a self-hosted runner can install without privileged access.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, devops, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.