This repository has been archived by the owner on Apr 11, 2024. It is now read-only.
chore(deps): update dependency netlify-cli to v17 #403
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: PR Title Linter | |
on: | |
pull_request: | |
types: [opened, edited, reopened, unlocked] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- name: 'Yarn: Install' | |
uses: ./.github/actions/yarn-install | |
- name: 'Lint: Pull request title' | |
env: | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
run: echo "$PR_TITLE" | yarn commitlint | |
- name: 'Warning: Pull request title must match conventional commits pattern!' | |
if: ${{ failure() }} | |
run: echo "Pull request title must match conventional commits pattern!" |