Enforce Branch Naming Conventions with GitHub Actions: Branch Name Validator

Опубликовано: 04 Август 2026
на канале: Hager Elsayed
710
9

In this video, we’ll explore how to automatically enforce branch naming conventions in your GitHub repository using a Branch Name Validator with GitHub Actions. We’ll walk through setting up a GitHub Action that checks branch names against a predefined regex pattern, ensuring consistency and organization in your workflow. Learn how to write the validation script, configure the GitHub Action, and understand the importance of branch name validation in a collaborative environment.

Chapters:
0:00 - Introduction to Branch Name Validation
1:10 - Why Branch Name Validation Matters
1:40 - Overview of the Shell Script
5:23 - Setting Up the GitHub Action
9:00 - Creating the PR
9:20 - Fix Permission issue for Shell script
10:23 - Conclusion and Next Steps

Github: [https://github.com/HagerElsayed/Githu...]
Linkedin: [  / hager-elsayed-  ]