mheap / mheap/pin-github-action

Allow expanding versions like `v6` to `v6.1.1`

Open
#219 8 comments 0 reactions 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

It would be a very nice time-saver if there was an option like `--expand-version` which would expand major-only tags into the full-version that they are pointing.

So that it generates a comment like `# v6.1.1` rather than just copying the `# v6`.

In the context of "pinning" versions, I guess it makes a lot of sense.

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 how pin-github-action parses version tags and handles command-line or action options. Verify how a major-only tag such as `v6` resolves to its full version, then check the existing output and test setup. Done means an opt-in `--expand-version` behavior produces a comment such as `# v6.1.1` while preserving the current behavior otherwise.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, javascript
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.