All Projects → deepakputhraya → action-pr-title

deepakputhraya / action-pr-title

Licence: MIT license
Github action to enforce Pull Request title conventions

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to action-pr-title

action-branch-name
Github action to enforce naming convention on branch names
Stars: ✭ 53 (-36.14%)
Mutual labels:  pullrequest, pull-requests, pullrequests, github-actions
pull-request-comment-branch
A GitHub Action to get the head ref and sha of a pull request comment
Stars: ✭ 21 (-74.7%)
Mutual labels:  pull-requests, github-actions
auto-request-review
A GitHub Action that automatically requests review of a pull request based on files changes and/or groups the author belongs to 🤖
Stars: ✭ 52 (-37.35%)
Mutual labels:  pull-requests, github-actions
actions
Collection of repetitive GitHub Actions
Stars: ✭ 12 (-85.54%)
Mutual labels:  pull-request, github-actions
aloba
🤖 [Myrmica Aloba 🐜] Bot: Add labels and milestone on pull requests and issues.
Stars: ✭ 18 (-78.31%)
Mutual labels:  pull-requests, github-actions
pr-reviews-reminder-action
A GitHub Action to send Slack/Teams notification for Pull Request that are waiting for reviewers.
Stars: ✭ 18 (-78.31%)
Mutual labels:  pull-requests, github-actions
action
📦📊 GitHub Action to reports on the size of your npm package
Stars: ✭ 36 (-56.63%)
Mutual labels:  pull-requests, github-actions
assign-author
GitHub Actions to assign author to issue or PR
Stars: ✭ 55 (-33.73%)
Mutual labels:  pull-requests, github-actions
label-actions
🤖 GitHub Action that performs certain tasks when issues, pull requests or discussions are labeled or unlabeled
Stars: ✭ 60 (-27.71%)
Mutual labels:  pull-request, github-actions
silver-platter
Automate the creation of merge proposals for scriptable changes
Stars: ✭ 19 (-77.11%)
Mutual labels:  pull-request, pull-requests
vet
Gerrit client using pull request workflow
Stars: ✭ 21 (-74.7%)
Mutual labels:  pull-request, pull-requests
ok-to-test
Example workflow configuration showing how to use GitHub Actions secrets in pull requests from forks 🍴🔑
Stars: ✭ 58 (-30.12%)
Mutual labels:  pull-requests, github-actions
autoupdate
A GitHub Action that auto-updates pull requests branches, whenever changes are pushed to their destination branch.
Stars: ✭ 70 (-15.66%)
Mutual labels:  pull-requests, github-actions
nrwl-nx-action
A GitHub Action to wrap Nrwl Nx commands in your workflows.
Stars: ✭ 163 (+96.39%)
Mutual labels:  pull-request, github-actions
Github Issue Templates
🔣 A collection of GitHub issue and pull request templates
Stars: ✭ 3,074 (+3603.61%)
Mutual labels:  pull-request, pull-requests
github-pr-diff-tree
🌲 This action provide a comment that displays the diff of the pull request in a tree format.
Stars: ✭ 31 (-62.65%)
Mutual labels:  pull-request, github-actions
cypress-gh-action-example
Example running Cypress tests inside GitHub Action
Stars: ✭ 29 (-65.06%)
Mutual labels:  github-actions
request-on-steroids
An HTTP client ✨ with retry, circuit-breaker and tor support 📦 out-of-the-box
Stars: ✭ 19 (-77.11%)
Mutual labels:  github-actions
gedoor-Build
在线编译你自己的阅读APP,自动构建,自动发布
Stars: ✭ 118 (+42.17%)
Mutual labels:  github-actions
go-starter
Go 服务框架脚手架. 整合 echo、swag、viper、nsq、logrus、fx、xorm、cobra 等第三方库
Stars: ✭ 145 (+74.7%)
Mutual labels:  github-actions

Branch naming rules

GitHub Actions status

Github action to enforce Pull Request title conventions

Usage

See action.yml

steps:
- uses: deepakputhraya/action-pr-title@master
  with:
    regex: '([a-z])+\/([a-z])+' # Regex the title should match.
    allowed_prefixes: 'feature,fix,JIRA' # title should start with the given prefix
    disallowed_prefixes: 'feat/,hotfix' # title should not start with the given prefix
    prefix_case_sensitive: false # title prefix are case insensitive
    min_length: 5 # Min length of the title
    max_length: 20 # Max length of the title
    github_token: ${{ github.token }} # Default: ${{ github.token }}

Note:

Ensure to add types to the Pull requests webhook event as by default workflows are triggered only for opened, synchronize, or reopened pull request events. Read more about it here.

on:
  pull_request:
    types: [opened, edited, synchronize, reopened]

Triggering the action on anything other than pull_request will cause a failure.

License

The scripts and documentation in this project are released under the MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].