- Notifications
You must be signed in to change notification settings - Fork41
Github action to enforce naming convention on branch names
License
NotificationsYou must be signed in to change notification settings
deepakputhraya/action-branch-name
Use this GitHub action with your project
Add this Action to an existing workflow or create a new oneFolders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Github action to enforce naming convention on branch names
Seeaction.yml
name:'Assert Branch Naming Convention'on:pull_requestjobs:branch-naming-rules:runs-on:ubuntu-lateststeps: -uses:deepakputhraya/action-branch-name@masterwith:regex:'([a-z])+\/([a-z])+'# Regex the branch should match. This example enforces groupingallowed_prefixes:'feature,stable,fix'# All branches should start with the given prefixignore:master,develop# Ignore exactly matching branch names from conventionmin_length:5# Min length of the branch namemax_length:20# Max length of the branch name
The scripts and documentation in this project are released under theMIT License
About
Github action to enforce naming convention on branch names
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published