chore: correct action name (#2053)

This commit is contained in:
ʀᴀʏ
2023-04-21 00:32:44 +08:00
committed by GitHub
parent 1e771131b0
commit 90b51031d2

23
.github/workflows/pr-title-lint.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: PR Title Lint
on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- master
permissions:
contents: read
jobs:
check-pull-request-title:
name: Check pull request title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: ./.github/actions/setup-node
- run: echo "${{ github.event.pull_request.title }}" | npx commitlint -g ./.commitlintrc.json