mathieudutour / mathieudutour/github-tag-action

Add ref parameter

Open
#70 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
733
Forks
227
PR merge metrics
No merged PRs in 30d

Description

I currently try to create a pre-release when a user comments "pre-release" on a PR.
However, in that case `GITHUB_REF` refers to the default branch. Being able to define the ref the version is meant for would enable this use-case.

Contributor guide

Open the contributing guide

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 where GITHUB_REF is read and where the version is selected for tagging. Determine how an explicit ref should control pre-release versioning, then verify that commenting "pre-release" on a pull request uses the requested ref rather than the default branch.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github-actions, typescript
Domain
ci-cd, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.