Skip to content

ci: added workflow for linting commit messages on pull request #1

ci: added workflow for linting commit messages on pull request

ci: added workflow for linting commit messages on pull request #1

Workflow file for this run

# Copyright (c) 2023-2024 MDSANIMA DEV. All rights reserved.
# Licensed under the MIT license.
# This file is used for linting commit messages with commitlint GitHub Action workflow on PR.
# Documentation: https://github.com/wagoid/commitlint-github-action/#commitlint-github-action
# Workflow setup
name: Run Commitlint on PR
on:
pull_request:
jobs:
commitlint-on-pr:
name: Run Commitlint on PR
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Linting commit messages
uses: wagoid/commitlint-github-action@v5
with:
configFile: .commitlintrc