mheap / mheap/pin-github-action

Support netrc auth

Open
#168 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
184
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Instead of having to pass a token manually over the CLI, it could automatically pick it up from the netrc file.

There is a nice octokit plugin for it already: https://www.npmjs.com/package/octokit-auth-netrc

So the order could be:

1. Manually passed token
2. Any token(s) from netrc file.
3. Anonymous auth.
4.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the existing CLI token-handling entry point and the octokit-auth-netrc plugin documentation linked in the issue. Implement the documented precedence: manually passed token, netrc token(s), then anonymous authentication, and verify each fallback path with the project's existing checks.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
authentication, cli, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.