ActionRank

Branch Names

Stale

tj-actions/branch-names · MIT

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

234 starsLast commit 3 months agoLatest v9.0.2
D
48
/ 100
Security 37Maintenance 41Popularity 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%)41
Reliability (15%)92