Skip to content

chore: bump wagoid/commitlint-github-action from 5.4.5 to 6.0.1 #161

chore: bump wagoid/commitlint-github-action from 5.4.5 to 6.0.1

chore: bump wagoid/commitlint-github-action from 5.4.5 to 6.0.1 #161

Workflow file for this run

name: 'PR Standards Check'
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
jobs:
check-pr-title:
name: PR Title
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
npm install @commitlint/config-conventional
echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [0, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js
- uses: JulienKode/pull-request-name-linter-action@v0.5.0
check-pr-commits:
name: PR Commit Messages
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure commit lint
run: |
echo "module.exports = {extends: ['@commitlint/config-conventional'], rules: { 'subject-case': [0, 'always', ['sentence-case','lower-case', 'start-case']], 'header-max-length': [2, 'always', 120], 'body-max-line-length': [0, 'always', 120] }};" > commitlint.config.js
- uses: wagoid/commitlint-github-action@v6.0.1
apply-labels:
name: PR Labels
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Apply Herald rules
uses: gagoar/use-herald-action@v2.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
rulesLocation: '.github/herald_rule_*.json'
base: main
DEBUG: "*"