stephenle17 is running commitlint check on pull request title. #264
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Commitlint pull request title check | |
run-name: ${{ github.actor }} is running commitlint check on pull request title. | |
on: | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
branches: ['*'] | |
permissions: read-all | |
jobs: | |
pullRequestTitleCheck: | |
name: Running commitlint check on pull request title | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # tag=v4.1.0 | |
- name: Setup node | |
uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # tag=3.8.1 | |
with: | |
node-version: 18 | |
- name: Run commitlint check for pull request title | |
run: | | |
npm ci | |
echo "${{ github.event.pull_request.title }}" | npx commitlint --verbose |