This repository has been archived by the owner on Jan 26, 2025. It is now read-only.
Enable encryption #102
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: Pull Request Validation | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
commit-linting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Setup Node | |
uses: actions/[email protected] | |
with: | |
node-version: 18 | |
cache: npm | |
- name: Install Commitlint | |
run: npm install @commitlint/cli @commitlint/config-conventional --save-dev | |
- name: Lint Commit Messages | |
run: | | |
echo "module.exports = {extends: ['@commitlint/config-conventional']};" > commitlint.config.js | |
npx commitlint --from=${{ github.event.pull_request.base.sha }} --to=${{ github.event.pull_request.head.sha }} |