Skip to content

Validates PR titles against Submitty guidelines

Actions
Validates PR titles against Submitty guidelines
v22.07.00
Latest
Star (1)

action-pr-title

Test

GitHub action that validates PR titles meets our title guidelines.

Usage

name: 'PR Title Check'
on:
  pull_request:
    # check when PR
    # * is created,
    # * title is edited, and
    # * new commits are added (to ensure failing title blocks merging)
    types: [ opened, reopened, edited, synchronize ]

jobs:
  title-check:
    runs-on: ubuntu-latest
    steps:
      - uses: submitty/action-pr-title@main

Development

Requirements:

  • NodeJS 20+

Setup

npm install

Contributing

For new code, you will need to:

  1. Write the code
  2. Lint the code (npm run lint) and test it (npm run test)

After you're satisfied with the changes you've made, you will want to finally update the files under dist/ with your change by running npm run package. Make sure to commit these changed files, as these are the files that are used when people utilize this action!

With that done, create a PR!

Validates PR titles against Submitty guidelines is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Validates PR titles against Submitty guidelines
v22.07.00
Latest

Validates PR titles against Submitty guidelines is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.