hakwerk/gha-git-repo-tags
GitHub Action to get last N tags from a repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | Repository name with owner, e.g. actions/checkout | yes | — |
| limit | Number of tags to return | yes | 10 |
| releases-only | Consider only tags that have an associated release | — | — |
| prefix | Consider only tags starting with this string prefix | — | — |
| regex | Consider only tags that matches specified regular expression pattern | — | — |
| reverse | Reverse the order of the tags returned (oldest first) | — | — |
| token | Personal access token (auto-populated). It is used only because anonymous requests are rate-limited. It can be overridden to an empty value | — | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| tags | List of the full tag names (incl. prefix) that were found up to the limit |