build: merge back master into develop [macata #105] #105
This file contains hidden or 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: Run Commitlint on PR's title | |
| on: | |
| pull_request: | |
| types: [opened, edited, reopened, synchronize] | |
| jobs: | |
| run-commitlint-on-pr: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '16' | |
| - name: Install Commitlint | |
| run: npm install --save-dev @commitlint/{cli,config-conventional} | |
| - name: Validate PR title using Commitlint | |
| run: echo ${{ github.event.pull_request.title }} | npx commitlint |