Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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 one
View on Marketplace

Repository files navigation

GitHub Actions status

Github action to enforce naming convention on branch names

Usage

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

License

The scripts and documentation in this project are released under theMIT License


[8]ページ先頭

©2009-2025 Movatter.jp