ActionRank

Branch Names

Stale

tj-actions/branch-names · MIT

Github action to retrieve branch or tag names with support for all events.

235 starsLast commit 4 months agoLatest v9.0.2
D
47
/ 100
Security 37Maintenance 38Popularity 45Reliability 92

Security signals

OpenSSF Scorecard4.5 / 10
SECURITY.md presentYes
Immutable releasesNot enabled
Known vulnerabilities2 advisory(ies)
  • CVE-2023-49291critical

    tj-actions/branch-names's Improper Sanitization of Branch Name Leads to Arbitrary Code Injection

    Published Dec 5, 2023
  • CVE-2025-54416critical

    tj-actions/branch-names has a Command Injection Vulnerability

    Published Jul 25, 2025

How to use it safely

Recommended: pin to commit SHA
uses: tj-actions/branch-names@5250492686b253f06fa55861556d1027b067aeb5 # v9.0.2

Mutable tags like v9.0.2 can be rewritten to point at malicious commits. Pinning to the full commit SHA is the only reference GitHub guarantees immutable.

Full workflow example
steps:
  - uses: tj-actions/branch-names@5250492686b253f06fa55861556d1027b067aeb5 # v9.0.2

Score breakdown

Security (35%)37
Popularity (20%)45
Maintenance (30%)38
Reliability (15%)92

Add this badge to your README

ActionRank grade badge for Branch Names
Markdown
[![ActionRank](https://actionrank.dev/api/badge/tj-actions-branch-names)](https://actionrank.dev/actions/tj-actions-branch-names)
HTML version
HTML
<a href="https://actionrank.dev/actions/tj-actions-branch-names"><img src="https://actionrank.dev/api/badge/tj-actions-branch-names" alt="ActionRank score"></a>

Free to use, no attribution required — the badge updates itself as the score changes. How badges work

Get alerts for Branch Names

We'll email you only if Branch Names becomes abandoned or a new advisory is published. Unsubscribe any time. How we handle your address