mheap / mheap/pin-github-action

Default to `.github/workflows/` directory if no argument passed

Open
#201 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
184
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Took a look around some of the PRs/Issues and wasn't sure if it was a design choice.
My logic is that `npx pin-github-action` should update the the workflow files in a repo, since it's the default location. Currently if there are no argument, it fails and prints the help message.

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

The issue does not name a file or test; start by running `npx pin-github-action` without an argument and trace the CLI's argument and default-path handling. Done means the command targets `.github/workflows/` when no argument is supplied, updates workflow files, and no longer prints the help message solely because the argument is omitted.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript, node.js
Domain
ci-cd, cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.