summaryrefslogtreecommitdiffstats
path: root/.github/workflows/commitlint.yml
blob: a91c6174aa865550f756bf8b77013a11ee4b28c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: commitlint

on:
  pull_request_target:
    types:
      - opened
      - reopened

jobs:
  lint:
    if: github.repository == 'frrouting/frr'
    permissions:
      contents: read
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Check Commit
        uses: wagoid/commitlint-github-action@v5
        with:
          configFile: .github/commitlint.config.js