Sanitize Branch Name
Version updated for https://github.com/onliner/sanitize-branch-name to version v1.0.0.
- This action is used across all versions by ? repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The Sanitize Branch Name GitHub Action automates the process of detecting the current branch name and generating a sanitized version by replacing / and _ with -. This ensures branch names are safe to use in artifact names, cache keys, file paths, and other CI workflows that require filesystem-compatible strings. It provides outputs for both the original and sanitized branch names, making it lightweight and versatile for various automation scenarios.
What’s Changed
What’s Changed
- Initial commit by @mohorev in https://github.com/onliner/sanitize-branch-name/pull/1
Full Changelog: https://github.com/onliner/sanitize-branch-name/commits/v1.0.0